blob: 646d3f85ed97a53a7f5922a9f7e2914e20845367 [file] [log] [blame]
Pirama Arumuga Nainarc58a4362016-09-19 23:00:23 -07001//===-- cache_frag.h --------------------------------------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file is a part of EfficiencySanitizer, a family of performance tuners.
11//
12// Header for cache-fragmentation-specific code.
13//===----------------------------------------------------------------------===//
14
15#ifndef CACHE_FRAG_H
16#define CACHE_FRAG_H
17
18namespace __esan {
19
20void processCacheFragCompilationUnitInit(void *Ptr);
21void processCacheFragCompilationUnitExit(void *Ptr);
22
23void initializeCacheFrag();
24int finalizeCacheFrag();
25void reportCacheFrag();
26
27} // namespace __esan
28
29#endif // CACHE_FRAG_H