diff --git a/src/SocketInputStream.cpp b/src/SocketInputStream.cpp index b735d64..383bd0e 100644 --- a/src/SocketInputStream.cpp +++ b/src/SocketInputStream.cpp @@ -154,7 +154,7 @@ namespace hgl size_t left_bytes = size; #endif//HGL_OS == HGL_OS_Windows -// const double start_time=GetDoubleTime(); +// const double start_time=GetPreciseTime(); 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)); diff --git a/src/SocketOutputStream.cpp b/src/SocketOutputStream.cpp index 2151a3f..e5621d7 100644 --- a/src/SocketOutputStream.cpp +++ b/src/SocketOutputStream.cpp @@ -101,7 +101,7 @@ namespace hgl const os_char *err_str; char *p=(char *)buf; -// const double start_time=GetDoubleTime(); +// const double start_time=GetPreciseTime(); #if HGL_OS == HGL_OS_Windows int result = 0; @@ -156,7 +156,7 @@ namespace hgl 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));