Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F64015957
timer.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, May 24, 00:02
Size
267 B
Mime Type
text/x-c++
Expires
Sun, May 26, 00:02 (2 d)
Engine
blob
Format
Raw Data
Handle
17251407
Attached To
rLAMMPS lammps
timer.h
View Options
#ifndef TIMER_H
#define TIMER_H
#include "stdio.h"
#include "stdlib.h"
#include "time.h"
class
Timer
{
public:
Timer
();
void
start
();
void
stop
();
void
print
();
double
elapse
();
private:
clock_t
t1
,
t2
;
double
cpu_time_used
;
int
flag
;
};
#endif
Event Timeline
Log In to Comment