S3FC project page | S3FC home page |
#include <s3_utils.h>
Static Public Methods | |
template<typename T> T | sqr (const T &t) |
Return the product of the argument with itself (i.e. More... | |
template<typename T> T | min (const T &t0, const T &t1) |
Return the smaller of the two arguments. More... | |
template<typename T> T | max (const T &t0, const T &t1) |
Return the larger of the two arguments. More... | |
float | time_diff (const timeval &time_start, const timeval &time_end) |
This method returns the difference in seconds between the start and the stop time. More... |
Definition at line 43 of file s3_utils.h.
|
Return the larger of the two arguments.
Definition at line 71 of file s3_utils.h. |
|
Return the smaller of the two arguments.
Definition at line 62 of file s3_utils.h. |
|
Return the product of the argument with itself (i.e. its square).
Definition at line 53 of file s3_utils.h. |
|
This method returns the difference in seconds between the start and the stop time. A negative result indicates something happened EXTREMELY quickly!
Definition at line 86 of file s3_utils.h. |
Send comments to: s3fc@stonethree.com |
|