Important Update:
- BufferCore: - Added PeekCopy and PopCopy methods - SelectableCore: - Add status checking of Handle on Read and Write - Reject input if Handle not open - TimingCore: - Added method ClearStartTime
This commit is contained in:
@@ -33,6 +33,15 @@ void SetStartTime( timeval * StartTime )
|
||||
}
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
// Clear start time
|
||||
void ClearStartTime( timeval * StartTime )
|
||||
{
|
||||
// Get current time
|
||||
StartTime->tv_sec = 0;
|
||||
StartTime->tv_usec = 0;
|
||||
}
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
// Calculate TimePassed from Start Time (in milli-seconds)
|
||||
long TimePassed( timeval StartTime )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user