Re: [Boost-users] [timer] eclapsed return zero
6 Sep
2008
6 Sep
'08
3:43 a.m.
Perhaps your thread has been preempted during execution causing the delay.
------Original Message------
From: gmail
Sender: boost-users-bounces@lists.boost.org
To: boost-user-list
ReplyTo: boost-users@lists.boost.org
Sent: Sep 5, 2008 4:15 AM
Subject: [Boost-users] [timer] eclapsed return zero
Hello, I have used the timer class in my application. It works ok sometime but i think it dont work correctly.
my code is:
#include <iostream>
#include "boost/timer.hpp"
using namespace std;
using namespace boost;
int main()
{
int count=0;
timer t;
for(;count<1000000;++count);
cout<
5927
Age (days ago)
5927
Last active (days ago)
0 comments
1 participants
participants (1)
-
raindog@macrohmasheen.com