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 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 ---
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 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 ---