将DoubleTime改名为PreciseTime
This commit is contained in:
parent
08bfb6d5bc
commit
698b1ebacc
@ -154,7 +154,7 @@ namespace hgl
|
|||||||
size_t left_bytes = size;
|
size_t left_bytes = size;
|
||||||
#endif//HGL_OS == HGL_OS_Windows
|
#endif//HGL_OS == HGL_OS_Windows
|
||||||
|
|
||||||
// const double start_time=GetDoubleTime();
|
// const double start_time=GetPreciseTime();
|
||||||
|
|
||||||
while(left_bytes>0)
|
while(left_bytes>0)
|
||||||
{
|
{
|
||||||
@ -212,7 +212,7 @@ namespace hgl
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// const double end_time=GetDoubleTime();
|
// const double end_time=GetPreciseTime();
|
||||||
|
|
||||||
// LOG_INFO(OS_TEXT("SocketInputStream::ReadFully() time: ")+OSString(end_time-start_time));
|
// LOG_INFO(OS_TEXT("SocketInputStream::ReadFully() time: ")+OSString(end_time-start_time));
|
||||||
|
|
||||||
|
@ -101,7 +101,7 @@ namespace hgl
|
|||||||
const os_char *err_str;
|
const os_char *err_str;
|
||||||
char *p=(char *)buf;
|
char *p=(char *)buf;
|
||||||
|
|
||||||
// const double start_time=GetDoubleTime();
|
// const double start_time=GetPreciseTime();
|
||||||
|
|
||||||
#if HGL_OS == HGL_OS_Windows
|
#if HGL_OS == HGL_OS_Windows
|
||||||
int result = 0;
|
int result = 0;
|
||||||
@ -156,7 +156,7 @@ namespace hgl
|
|||||||
left_bytes-=result;
|
left_bytes-=result;
|
||||||
}
|
}
|
||||||
|
|
||||||
// const double end_time=GetDoubleTime();
|
// const double end_time=GetPreciseTime();
|
||||||
|
|
||||||
// LOG_INFO(OS_TEXT("SocketOutputStream::WriteFully() time: ")+OSString(end_time-start_time));
|
// LOG_INFO(OS_TEXT("SocketOutputStream::WriteFully() time: ")+OSString(end_time-start_time));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user