FreeRDP
|
#include <winpr/crt.h>
#include <winpr/spec.h>
#include <winpr/wtypes.h>
#include <winpr/platform.h>
#include <winpr/crypto.h>
#include <freerdp/primitives.h>
#include "measure.h"
Macros | |
#define | ALIGN(x) x DECLSPEC_ALIGN(MEMORY_ALLOCATION_ALIGNMENT) |
#define | ABS(_x_) ((_x_) < 0 ? (-(_x_)) : (_x_)) |
#define | MAX_TEST_SIZE 4096 |
#define | NUM_TEST_SIZES 10 |
Typedefs | |
typedef pstatus_t(* | speed_test_fkt) () |
Functions | |
void | prim_test_setup (BOOL performance) |
BOOL | speed_test (const char *name, const char *dsc, UINT32 iterations, speed_test_fkt generic, speed_test_fkt optimized,...) |
Variables | |
int | test_sizes [] |
BOOL | g_TestPrimitivesPerformance |
UINT32 | g_Iterations |
primitives_t * | generic |
primitives_t * | optimized |
#define ABS | ( | _x_ | ) | ((_x_) < 0 ? (-(_x_)) : (_x_)) |
#define ALIGN | ( | x | ) | x DECLSPEC_ALIGN(MEMORY_ALLOCATION_ALIGNMENT) |
#define MAX_TEST_SIZE 4096 |
#define NUM_TEST_SIZES 10 |
typedef pstatus_t(* speed_test_fkt) () |
void prim_test_setup | ( | BOOL | performance | ) |
BOOL speed_test | ( | const char * | name, |
const char * | dsc, | ||
UINT32 | iterations, | ||
speed_test_fkt | generic, | ||
speed_test_fkt | optimized, | ||
... | |||
) |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |