Mixe for Privacy and Anonymity in the Internet
CACryptoBenchmark.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #define MAX_CRYPTOBENCHMARK_THREADS 16
4 
5 
7 {
12 };
13 
14 typedef struct t_benchmarkParams tBenchmarkParams;
15 
17 {
19  volatile bool* bTimer;
20 };
21 
23 
24 
26 {
27 public:
30  void doBenchmark();
31 private:
32 
33  static const UINT32 ms_NUM_BLOCKSIZES = 5;
35  static THREAD_RETURN benchmarkThread(void * param);
36  static THREAD_RETURN timerThread(void * param);
37 
38 };
39 
#define THREAD_RETURN
Definition: StdAfx.h:540
unsigned int UINT32
Definition: basetypedefs.h:131
static const UINT32 ms_NUM_BLOCKSIZES
static THREAD_RETURN timerThread(void *param)
static const UINT32 ms_BlockSizes[ms_NUM_BLOCKSIZES]
static THREAD_RETURN benchmarkThread(void *param)
volatile UINT64 * outparam_pTotalBytesProcessed
CAMutex * pMutexTotalBytesProcessed