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

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

51#include "params/SrcClockDomain.hh"
52#include "sim/clock_domain.hh"
53#include "sim/voltage_domain.hh"
54#include "sim/clocked_object.hh"
55
56void
57ClockDomain::regStats()
58{
1/*
2 * Copyright (c) 2013-2014 ARM Limited
3 * Copyright (c) 2013 Cornell University
4 * All rights reserved
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

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

51#include "params/SrcClockDomain.hh"
52#include "sim/clock_domain.hh"
53#include "sim/voltage_domain.hh"
54#include "sim/clocked_object.hh"
55
56void
57ClockDomain::regStats()
58{
59 SimObject::regStats();
60
59 using namespace Stats;
60
61 // Expose the current clock period as a stat for observability in
62 // the dumps
63 currentClock
64 .scalar(_clockPeriod)
65 .name(params()->name + ".clock")
66 .desc("Clock period in ticks")

--- 170 unchanged lines hidden ---
61 using namespace Stats;
62
63 // Expose the current clock period as a stat for observability in
64 // the dumps
65 currentClock
66 .scalar(_clockPeriod)
67 .name(params()->name + ".clock")
68 .desc("Clock period in ticks")

--- 170 unchanged lines hidden ---