summaryrefslogtreecommitdiff
path: root/lib/esan/cache_frag.h
blob: 646d3f85ed97a53a7f5922a9f7e2914e20845367 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//===-- cache_frag.h --------------------------------------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file is a part of EfficiencySanitizer, a family of performance tuners.
//
// Header for cache-fragmentation-specific code.
//===----------------------------------------------------------------------===//

#ifndef CACHE_FRAG_H
#define CACHE_FRAG_H

namespace __esan {

void processCacheFragCompilationUnitInit(void *Ptr);
void processCacheFragCompilationUnitExit(void *Ptr);

void initializeCacheFrag();
int finalizeCacheFrag();
void reportCacheFrag();

} // namespace __esan

#endif  // CACHE_FRAG_H