c++ Programming Glossary: granularity
HPET's frequency vs CPU frequency for measuring time http://stackoverflow.com/questions/12971110/hpets-frequency-vs-cpu-frequency-for-measuring-time . A call requires 10 15ns. But it's resolution granularity is rather poor in the ms regime . QueryPerformanceCounter delivers..
why is microsecond timestamp is repetetive using (a private) gettimeoftheday() i.e. epoch http://stackoverflow.com/questions/13175573/why-is-microsecond-timestamp-is-repetetive-using-a-private-gettimeoftheday-i I've given a closer look here and here . This is called granularity of the system time. Windows However there is a way to improve.. However there is a way to improve this a way to reduce the granularity The Multimedia Timers . Particulary Obtaining and Setting Timer.. update of the system time will happen more often and the granularity of the system time increment will be close to 1 milisecond on..
Is there any danger in calling free() or delete instead of delete[]? [duplicate] http://stackoverflow.com/questions/1612031/is-there-any-danger-in-calling-free-or-delete-instead-of-delete one could assume that not all allocators would provide a granularity of a single byte. Then any particular allocation could exceed..
Implementation of a “hits in last [second/minute/hour]” data structure http://stackoverflow.com/questions/18364490/implementation-of-a-hits-in-last-second-minute-hour-data-structure require but frankly hits per second seems like the highest granularity you need and if you are looking at the overall big picture it..
Who architected / designed C++'s IOStreams, and would it still be considered well-designed by today's standards? http://stackoverflow.com/questions/2753060/who-architected-designed-cs-iostreams-and-would-it-still-be-considered-wel forwarding to internal buffer objects at even the finest granularity and also thanks to some inscrutable strangeness in the way locales..
Thread safety for STL queue http://stackoverflow.com/questions/4029448/thread-safety-for-stl-queue queue.pop i The idea is that I want to reduce the granularity of the locked code and since the writer thread would only write..
C++ - How to set file permissions (cross platform) http://stackoverflow.com/questions/592448/c-how-to-set-file-permissions-cross-platform my case the answer came down to what level of permission granularity I need on Windows versus Linux. In my case I only care about..
Windows 7 timing functions - How to use GetSystemTimeAdjustment correctly? http://stackoverflow.com/questions/7685762/windows-7-timing-functions-how-to-use-getsystemtimeadjustment-correctly real accuracy of the system time provided by this API the granularity that comes along with the time values needs to be discussed...
excellent examples of real c/c++ code? Suggestions needed [closed] http://stackoverflow.com/questions/779338/excellent-examples-of-real-c-c-code-suggestions-needed I am curious how good project in c c is structured files granularity of classes functions files documentation comments build tools..
Sleep less than one millisecond http://stackoverflow.com/questions/85122/sleep-less-than-one-millisecond On Windows however there is only Sleep with millisecond granularity. You can however use the select system call to create a microsecond..
timespec equivalent for windows http://stackoverflow.com/questions/8583308/timespec-equivalent-for-windows testing with Cygwin under Windows XP on my machine the granularity of gettimeofday is about 15 msecs ~1 64 secs . Which is quite.. 15 msecs ~1 64 secs . Which is quite coarse. And so is the granularity of clock_t clock void divisor CLOCKS_PER_SEC clock_t times struct.. and for CYGWIN code running under Windows which gives a granularity of about 50 microsecs on my machine . The return value is in..
|