/*
- * Copyright (c) 2013-2014 ARM Limited
+ * Copyright (c) 2013-2014, 2017 ARM Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
{
if (numCyclesLocal) {
numCycles
- .name(object.name() + ".tickCycles")
+ .name(object.name() + ".totalTickCycles")
.desc("Number of cycles that the object ticked or was stopped");
}
lastStopped = Cycles(lastStoppedUint);
}
-TickedObject::TickedObject(TickedObjectParams *params,
+TickedObject::TickedObject(const TickedObjectParams *params,
Event::Priority priority) :
ClockedObject(params),
/* Make numCycles in Ticked */
TickedObject::regStats()
{
Ticked::regStats();
+ ClockedObject::regStats();
}
void
/*
- * Copyright (c) 2013-2014 ARM Limited
+ * Copyright (c) 2013-2014, 2017 ARM Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
class TickedObject : public ClockedObject, public Ticked
{
public:
- TickedObject(TickedObjectParams *params,
+ TickedObject(const TickedObjectParams *params,
Event::Priority priority = Event::CPU_Tick_Pri);
/** Disambiguate to make these functions overload correctly */