利用delay()函数进行延迟,环境TC V2.01,delay(1000)还是delay(2000)其时间都不对,其参数发生变化的时候,输出结果却没什么变化?

程序如下:
#include <time.h>
#include <stdio.h>
#include <dos.h>
int main(void)
{
   clock_t start, end;
   char ti;
   start = clock();
   delay(1000);
   end = clock();
   printf("The time was: %f", (end - start) / CLK_TCK);

   ti=getche();
   return 0;
}