stack_dist.cc (11430:bd1c6789c33f) stack_dist.cc (11523:81332eb10367)
1/*
2 * Copyright (c) 2015 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 43 unchanged lines hidden (view full) ---

52 fatal_if(p->system->cacheLineSize() > p->line_size,
53 "The stack distance probe must use a cache line size that is "
54 "larger or equal to the system's cahce line size.");
55}
56
57void
58StackDistProbe::regStats()
59{
1/*
2 * Copyright (c) 2015 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 43 unchanged lines hidden (view full) ---

52 fatal_if(p->system->cacheLineSize() > p->line_size,
53 "The stack distance probe must use a cache line size that is "
54 "larger or equal to the system's cahce line size.");
55}
56
57void
58StackDistProbe::regStats()
59{
60 BaseMemProbe::regStats();
61
60 const StackDistProbeParams *p(
61 dynamic_cast<const StackDistProbeParams *>(params()));
62 assert(p);
63
64 using namespace Stats;
65
66 readLinearHist
67 .init(p->linear_hist_bins)

--- 71 unchanged lines hidden ---
62 const StackDistProbeParams *p(
63 dynamic_cast<const StackDistProbeParams *>(params()));
64 assert(p);
65
66 using namespace Stats;
67
68 readLinearHist
69 .init(p->linear_hist_bins)

--- 71 unchanged lines hidden ---