tnt_stopwatch.h Source File
Main Page Namespace List Compound List File List Namespace Members Compound Members File Members
Copyright By PowCoder代写 加微信 powcoder
tnt_stopwatch.h
Go to the documentation of this file.00001 /*
00003 * Mathematical and Computational Sciences Division
00004 * National Institute of Technology,
00005 * Gaithersburg, MD USA
00008 * This software was developed at the National Institute of Standards and
00009 * Technology (NIST) by employees of the Federal Government in the course
00010 * of their official duties. Pursuant to title 17 Section 105 of the
00011 * United States Code, this software is not subject to copyright protection
00012 * and is in the public domain. NIST assumes no responsibility whatsoever for
00013 * its use by other parties, and makes no guarantees, expressed or implied,
00014 * about its quality, reliability, or any other characteristic.
00020 #ifndef STOPWATCH_H
00021 #define STOPWATCH_H
00023 // for clock() and CLOCKS_PER_SEC
00024 #include
00027 namespace TNT
00046 class Stopwatch
00048 public:
00053 Stopwatch();
00059 inline void start();
00064 inline double stop();
00069 inline double read();
00075 inline void resume();
00081 inline int running();
00086 #endif
Generated at Thu Jun 26 17:26:14 2003 for Template Numerical Toolkit (TNT) by
1.2.5 written by Dimitri van Heesch,
© 1997-2001
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com