Home
last modified time | relevance | path

Searched refs:cache_type (Results 1 – 6 of 6) sorted by relevance

/external/linux-tools-perf/util/
Dparse-events.c252 static int is_cache_op_valid(u8 cache_type, u8 cache_op) in is_cache_op_valid() argument
254 if (hw_cache_stat[cache_type] & COP(cache_op)) in is_cache_op_valid()
260 static char *event_cache_name(u8 cache_type, u8 cache_op, u8 cache_result) in event_cache_name() argument
265 sprintf(name, "%s-%s-%s", hw_cache[cache_type][0], in event_cache_name()
269 sprintf(name, "%s-%s", hw_cache[cache_type][0], in event_cache_name()
325 u8 cache_type, cache_op, cache_result; in __event_name() local
327 cache_type = (config >> 0) & 0xff; in __event_name()
328 if (cache_type > PERF_COUNT_HW_CACHE_MAX) in __event_name()
339 if (!is_cache_op_valid(cache_type, cache_op)) in __event_name()
342 return event_cache_name(cache_type, cache_op, cache_result); in __event_name()
[all …]
/external/chromium/net/disk_cache/
Dhistogram_macros.h106 switch (BACKEND_OBJ->cache_type()) {\
Dstats.cc149 if (!size_histogram_ && backend->cache_type() == net::DISK_CACHE && in Init()
Dbackend_impl.h177 net::CacheType cache_type() const { in cache_type() function
Dbackend_impl.cc495 if (cache_type() == net::APP_CACHE) { in SyncInit()
501 if (cache_type() == net::DISK_CACHE) in SyncInit()
/external/chromium/net/
Dnet.gyp39 'base/cache_type.h',