Commit Graph

533 Commits

Author SHA1 Message Date
Matthias Jung
5366e6dce3 new metric for parallel banks 2016-05-18 12:00:54 +02:00
Éder F. Zulian
88cf6919f7 New metric: bank usage ratio 2016-05-17 17:22:45 +02:00
Éder F. Zulian
604f882b5b Revert "User can choose bankwise power calculation"
This reverts commit ab2af8c953.
2016-05-10 20:30:18 +02:00
Éder F. Zulian
ab2af8c953 User can choose bankwise power calculation 2016-05-10 18:18:00 +02:00
fzeder
375efaadac Merge pull request #78 from fzeder/master
Power plots generation - scales fixed.
2016-05-10 17:36:03 +02:00
Éder F. Zulian
5371930f1a This commit reverts some changes because the plots generation was broken.
We may reimplement such changes in the near feature considering also the new
status of DRAMSys (more specifically Dram.h) and DRAMPower.

Changes introduced in the following commits were reverted:
98249947f4
c0f83bb1dc

Other changes:
Upper and lower limits for some plots adjusted.
2016-05-10 15:29:15 +02:00
Éder F. Zulian
e31322abe6 Merge remote-tracking branch 'upstream/master' 2016-05-10 10:12:08 +02:00
Éder F. Zulian
7225c4ee51 Project file adapted to comply with the new DRAMPower Makefile 2016-05-10 10:06:59 +02:00
Éder F. Zulian
69f40dfc48 Merge remote-tracking branch 'upstream/master' 2016-05-09 16:52:53 +02:00
Éder F. Zulian
4da56929a8 Moved DRAMPower submodule to master 2016-05-09 16:04:26 +02:00
Matthias Jung
f361df62fb First trace generator for Bankwise-DRAMPower experiments 2016-05-06 11:03:26 +02:00
Matthias Jung
4edb3978fe small fixes for MAC 2016-05-04 11:32:28 +02:00
Matthias Jung
a02dd8350a Merge branch 'master' of git.rhrk.uni-kl.de:EIT-Wehn/dram.vp.system 2016-05-04 10:57:27 +02:00
Matthias Jung
eab6c3bcc2 Debug mode default off 2016-05-04 10:57:10 +02:00
Matthias Jung
2167649bfc Created an online bandwith calculation
This is just a preliminary implementation
2016-05-04 10:55:05 +02:00
Éder F. Zulian
8e4e9f4f65 Typo fixed 2016-05-03 17:24:12 +02:00
Éder F. Zulian
932c8df066 Merge remote-tracking branch 'upstream/master' 2016-05-03 17:12:27 +02:00
fzeder
afd06aa709 Merge pull request #80 from sprado/master
Charts Correction
2016-05-03 17:03:19 +02:00
Felipe Salerno Prado
c0f83bb1dc Charts Correction 2016-04-28 17:22:40 +02:00
sprado
98249947f4 Charts Correction 2016-04-28 15:27:32 +02:00
Éder F. Zulian
997d11286c Using the same function to convert clk freq. to period for all memories. 2016-04-24 17:26:42 +02:00
Éder F. Zulian
e07445a58e Using average power values directly from DRAMPower.
Now we store the average power values directly obtained from the DRAMPower
library into the database. Thus we do not have to divide energy by time to
calculate them anymore (avoiding any possible lost of accuracy due to
rounding).

Other changes:
- At the very beginning (zero clock cycles) the energy is 0, so the
  powerWindow thread wait first.

- When working with floats, we have to decide ourselves what is an acceptable
  definition for "equal". Now we compare the energy value with a suitable
  error margin (0.00001). Now the assertion that ensures the energy is not
  zero is working properly.

Notes:
- The assert() function does nothing if NDEBUG is defined.

- The total energy is provided by DRAMPower as a double. We accumulate the
  total energy for every window since we are clearing the library counters.

  Explanation about double precision:
  The double type ensures 15 decimal digits to represent a number. It does not
  matter if the digits are before or after the comma. Thus we only have
  rounding for numbers represented with more than 15 decimal digits.

  In more technical terms:
  An IEEE double has 53 significant bits (see also DBL_MANT_DIG in <cfloat>).
  That is approximately 15.95 decimal digits (log10(2^53)). The implementation
  sets the number of digits (DBL_DIG) to 15, not 16, because it has to round
  down.
2016-04-22 11:50:39 +02:00
Éder F. Zulian
f608eb970d Merge remote-tracking branch 'upstream/master' 2016-04-14 11:45:56 +02:00
Éder F. Zulian
7872fef95a QTCreator project improved. 2016-04-14 11:41:14 +02:00
Éder F. Zulian
d95f460237 Power plots generation fixed.
This is the DRAMSys patch related to the following DRAMPower issue:
https://github.com/ravenrd/DRAMPower/issues/31
2016-04-07 00:28:22 +02:00
Éder F. Zulian
36beda221a Configuration files for tests updated.
Some configuration items were missing.
PowerAnalisys turned on again for the error test.
2016-04-06 21:16:22 +02:00
Éder F. Zulian
cb5f63267f Disabling PowerAnalisys for the error test.
Other changes:
- check if the input trace file for the error test is already there, if yes use
  it, if not create it first then use it.
2016-04-06 19:15:26 +02:00
Éder F. Zulian
f0ce044133 Now the simple test uses its own memconfig file (fifoStrict.xml). 2016-04-06 18:35:36 +02:00
Éder F. Zulian
10d01a832e Created a separate "sim-batch.xml" file for the simple test.
This way eventual changes to the default "sim-batch.xml" file will not affect
the result of this test.

Updated the expected values (expected.txt) after running the test with its own
sim-batch config file.
2016-04-06 17:22:23 +02:00
Éder F. Zulian
f1c1c7b7a7 Let's keep debugs disabled by default.
Users can enable debugs locally to fit their particular needs.
2016-04-06 17:19:59 +02:00
Éder F. Zulian
8e73c2c647 README update 2016-04-04 17:47:33 +02:00
Matthias Jung
c6b61d39e9 Merge pull request #75 from fzeder/master
Since SQLITE 3.7.x there are performance problems
2016-04-01 17:52:06 +02:00
Éder F. Zulian
fb9295d3e2 Since SQLITE 3.7.x there are performance problems
We used EXPLAIN QUERY PLAN and detected differences between machines.

Matthias found out that faster machines (DRAM server) use the "ranges_index"
for the "Transactions" table. But other machines (our laptops) use the primary
key defined for that table. Removing the primary key the performance issues
were solved.
2016-04-01 17:46:38 +02:00
Matthias Jung
ad82d337fe Merge pull request #71 from sprado/master
Power over time charts
2016-04-01 10:34:58 +02:00
Matthias Jung
5042388872 Merge pull request #72 from fzeder/master
Check if database recording is enabled before executing statements.
2016-04-01 10:32:19 +02:00
Matthias Jung
b1be1c24fe small fix regarding power window for ddr3 simulations 2016-03-23 13:00:19 +01:00
Éder F. Zulian
b923a53965 Check if database recording is enable. 2016-03-20 11:50:29 -03:00
Éder F. Zulian
a131e4c6f6 Telling the compiler where the libqwt is. 2016-03-20 10:18:20 -03:00
Felipe Salerno Prado
faababba16 Power over time charts 2016-03-18 17:06:49 +01:00
Matthias Jung
b82e869374 Merge pull request #70 from fzeder/master
Power window size got from configuration.
2016-03-16 08:34:48 +01:00
Éder F. Zulian
d62c0e5cc6 Getting power window size and unity from config. 2016-03-15 22:04:22 -03:00
Éder F. Zulian
5a55453b3d Merge remote-tracking branch 'upstream/master' 2016-03-15 21:13:29 -03:00
Éder F. Zulian
9548bd3e75 Nomenclature improved in thermal simulation related code. 2016-03-15 21:11:59 -03:00
Matthias Jung
835d8deceb Power Recording implemented 2016-03-16 00:24:25 +01:00
Matthias Jung
d3d3ffc2c5 add XML files to Qt Project 2016-03-15 22:58:15 +01:00
Matthias Jung
965d6740f1 test and adjusted some of Felipes changes 2016-03-15 22:51:49 +01:00
Matthias Jung
35e5a957ae Merge pull request #69 from sprado/master
Power over time
2016-03-15 21:58:35 +01:00
sprado
99a623690a cout lines removed 2016-03-15 21:39:39 +01:00
sprado
b2fcde07cf Power over time 2016-03-14 16:03:08 +01:00
Matthias Jung
d9e29a1976 Merge pull request #68 from fzeder/master
One output PDF file per channel with 2 subplots.
2016-03-01 14:15:44 +01:00