mightymandel v16

GPU-based Mandelbrot set explorer

stopwatch.h
Go to the documentation of this file.
1 // mightymandel -- GPU-based Mandelbrot Set explorer
2 // Copyright (C) 2012,2013,2014,2015 Claude Heiland-Allen
3 // License GPL3+ http://www.gnu.org/licenses/gpl.html
4 
5 #ifndef STOPWATCH_H
6 #define STOPWATCH_H 1
7 
35 struct stopwatch;
36 
41 struct stopwatch *stopwatch_new();
42 
47 void stopwatch_delete(struct stopwatch *t);
48 
53 void stopwatch_reset(struct stopwatch *t);
54 
59 void stopwatch_start(struct stopwatch *t);
60 
65 void stopwatch_stop(struct stopwatch *t);
66 
72 double stopwatch_elapsed(struct stopwatch *t);
73 
74 #endif