Home | History | Annotate | Download | only in esan
      1 //===-- 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 
     18 namespace __esan {
     19 
     20 void processCacheFragCompilationUnitInit(void *Ptr);
     21 void processCacheFragCompilationUnitExit(void *Ptr);
     22 
     23 void initializeCacheFrag();
     24 int finalizeCacheFrag();
     25 void reportCacheFrag();
     26 
     27 } // namespace __esan
     28 
     29 #endif  // CACHE_FRAG_H
     30