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