PAPI 7.1.0.0
Loading...
Searching...
No Matches
dcache.h
Go to the documentation of this file.
1#ifndef _DATA_CACHE_
2#define _DATA_CACHE_
3
4#include <stdio.h>
5#include <omp.h>
6#include "hw_desc.h"
7#include "params.h"
8
9#define FACTOR 12LL
10
11int varyBufferSizes(long long *values, double **rslts, double **counter, hw_desc_t *hw_desc, long long line_size_in_bytes, float pages_per_block, int pattern, int latency_only, int mode, int ONT);
13void d_cache_driver(char* papi_event_name, cat_params_t params, hw_desc_t *hw_desc, int latency_only, int mode);
14int d_cache_test(int pattern, int max_iter, hw_desc_t *hw_desc, long long stride_in_bytes, float pages_per_block, char* papi_event_name, int latency_only, int mode, FILE* ofp);
15
16#endif
int get_thread_count()
Definition: dcache.c:408
int d_cache_test(int pattern, int max_iter, hw_desc_t *hw_desc, long long stride_in_bytes, float pages_per_block, char *papi_event_name, int latency_only, int mode, FILE *ofp)
Definition: dcache.c:118
void d_cache_driver(char *papi_event_name, cat_params_t params, hw_desc_t *hw_desc, int latency_only, int mode)
Definition: dcache.c:17
int varyBufferSizes(long long *values, double **rslts, double **counter, hw_desc_t *hw_desc, long long line_size_in_bytes, float pages_per_block, int pattern, int latency_only, int mode, int ONT)
Definition: dcache.c:234
static long long values[NUM_EVENTS]
Definition: init_fini.c:10