|
RecFilter
|
#include <iostream>#include <fstream>#include <string>Go to the source code of this file.
Data Structures | |
| class | Log |
| Logging utility. More... | |
Functions | |
| float | throughput (float runtime, int pixels) |
| Compute the throughput in Gibipixels = 2^30 pixels. More... | |
| unsigned long | millisecond_timer (void) |
| Millisecond-precision timer function. More... | |
| float throughput | ( | float | runtime, |
| int | pixels | ||
| ) |
Compute the throughput in Gibipixels = 2^30 pixels.
| runtime | running time in milliseconds |
| pixels | number of pixels |
| unsigned long millisecond_timer | ( | void | ) |
Millisecond-precision timer function.
This routine implements a timer with millisecond precision. In order to obtain timing at high resolution, platform-specific functions are needed:
Preprocessor symbols are checked in attempt to detect whether the platform is POSIX or Windows or Mac and defines millisecond_timer() accordingly.