Click here to Skip to main content
15,884,388 members
Articles / Web Development / HTML

Quantifying The Accuracy Of Sleep

Rate me:
Please Sign up or sign in to vote.
4.83/5 (28 votes)
20 Mar 2003CPOL12 min read 129.3K   921   34  
An analysis of actual sleep time caused by Sleep(), particularly for multithreaded applications
// StopWatch.cpp: implementation of the CStopWatch class.
//
//////////////////////////////////////////////////////////////////////
/*
#include "stdafx.h"
#include "StopWatch.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CStopWatch::CStopWatch()
{

}

CStopWatch::~CStopWatch()
{

}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
Mike O'Neill is a patent attorney in Southern California, where he specializes in computer and software-related patents. He programs as a hobby, and in a vain attempt to keep up with and understand the technology of his clients.

Comments and Discussions