2016-09-08 07:21:25 +00:00
|
|
|
/**
|
2016-09-11 20:20:15 +00:00
|
|
|
* Author......: See docs/credits.txt
|
2016-09-08 07:21:25 +00:00
|
|
|
* License.....: MIT
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _STATUS_H
|
|
|
|
#define _STATUS_H
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <inttypes.h>
|
|
|
|
|
2016-09-11 08:28:59 +00:00
|
|
|
#define STATUS 0
|
|
|
|
#define STATUS_TIMER 10
|
|
|
|
#define MACHINE_READABLE 0
|
2016-09-08 07:21:25 +00:00
|
|
|
|
2016-09-14 14:07:24 +00:00
|
|
|
double get_avg_exec_time (hc_device_param_t *device_param, const int last_num_entries);
|
|
|
|
|
2016-09-16 15:01:18 +00:00
|
|
|
void status_display_machine_readable (opencl_ctx_t *opencl_ctx, const hashes_t *hashes);
|
|
|
|
void status_display (opencl_ctx_t *opencl_ctx, const hashconfig_t *hashconfig, const hashes_t *hashes);
|
|
|
|
void status_benchmark_automate (opencl_ctx_t *opencl_ctx, const hashconfig_t *hashconfig);
|
|
|
|
void status_benchmark (opencl_ctx_t *opencl_ctx, const hashconfig_t *hashconfig);
|
2016-09-08 07:21:25 +00:00
|
|
|
|
|
|
|
#endif // _STATUS_H
|