LibDRAMPower.h (10428:0caf62b57dfd) | LibDRAMPower.h (11555:2efa95cf8504) |
---|---|
1/* 2 * Copyright (c) 2012-2014, TU Delft 3 * Copyright (c) 2012-2014, TU Eindhoven 4 * Copyright (c) 2012-2014, TU Kaiserslautern 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions are --- 42 unchanged lines hidden (view full) --- 51 ~libDRAMPower(); 52 53 void doCommand(Data::MemCommand::cmds type, 54 int bank, 55 int64_t timestamp); 56 57 void updateCounters(bool lastUpdate); 58 | 1/* 2 * Copyright (c) 2012-2014, TU Delft 3 * Copyright (c) 2012-2014, TU Eindhoven 4 * Copyright (c) 2012-2014, TU Kaiserslautern 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions are --- 42 unchanged lines hidden (view full) --- 51 ~libDRAMPower(); 52 53 void doCommand(Data::MemCommand::cmds type, 54 int bank, 55 int64_t timestamp); 56 57 void updateCounters(bool lastUpdate); 58 |
59 void clearCounters(int64_t timestamp); 60 |
|
59 void clearState(); 60 61 void calcEnergy(); 62 63 const Data::MemoryPowerModel::Energy& getEnergy() const; 64 const Data::MemoryPowerModel::Power& getPower() const; 65 66 // list of all commands --- 14 unchanged lines hidden --- | 61 void clearState(); 62 63 void calcEnergy(); 64 65 const Data::MemoryPowerModel::Energy& getEnergy() const; 66 const Data::MemoryPowerModel::Power& getPower() const; 67 68 // list of all commands --- 14 unchanged lines hidden --- |