Commit Graph

506 Commits

Author SHA1 Message Date
É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
Éder F. Zulian
0d2257caea Readme updated with systemC mac targets 2016-02-29 11:20:15 -03:00
Éder F. Zulian
569fc4aafd One output PDF file per channel with 2 subplots. 2016-02-29 09:12:27 -03:00
Matthias Jung
3bee70945d changed from a constant window size to a constant step size 2016-02-27 12:29:25 +01:00
Matthias Jung
65579d2ea4 merge everything together
Merge branch 'master' of git.rhrk.uni-kl.de:EIT-Wehn/dram.vp.system
2016-02-26 21:20:23 +01:00
Matthias Jung
a3ad258809 better view on mac 2016-02-26 21:08:24 +01:00
Matthias Jung
9e10f82836 Merge pull request #65 from sprado/master
Bandwidth Over Time Graphics and Absolute Bandwidth as Text
(I will change to 1024 and push it back)
2016-02-26 21:02:44 +01:00
Matthias Jung
d02c62e734 Small changes to support Clang and Mac OS 2016-02-26 20:11:12 +01:00
sprado
3a0b9142df Bar Charts 2016-02-26 15:47:19 +01:00
Éder F. Zulian
5887c4be6a Created a specific button to generate plots
This makes possible to generate metrics without waiting for the plots
generation.
2016-02-26 08:49:44 -03:00
Matthias Jung
b275e71f0e Merge pull request #55 from fzeder/master
Issue#50 fixed and some improvements
2016-02-23 23:13:31 +01:00
Felipe Salerno Prado
2b99e82cff Bandwidth Over Time Graphics and Absolute Bandwidth as Text 2016-02-23 16:29:30 +01:00
Éder F. Zulian
618b2def49 Merge remote-tracking branch 'upstream/master' 2016-02-17 22:10:20 -02:00
Matthias Jung
647130df32 Merge pull request #58 from fzeder/traceAnalyzer_reload_databases
fixes issue #46, #45 #59, #62
2016-02-17 21:44:23 +01:00
Éder F. Zulian
c1084c21fb Power down related metrics are generated according to config bankwise logic.
IMPORTANT:
Though the mechanism to choose the proper metrics according to the bankwise
logic configuraiton is working fine, we need to check if all calculations are
correct. For exmple: check if the calculation of the total time in SREFB is
correct.
2016-02-17 16:55:13 -02:00
Éder F. Zulian
636ff65a38 Added support to single-line comments in STL files (issue#45).
Lines which start with '#' will be ignored by trace players.

From IP_GFRBM.pdf:
STL syntax supports only single line comments. A single-line comment is
everything on a line following but not including the first occurrence of the #
character and up to, but not including the end of the line. For example:

 # this is a comment

Comments should always begin in a new line.
2016-02-17 13:24:10 -02:00
Éder F. Zulian
6d8a31a904 More improvements 2016-02-16 21:17:58 -02:00
Éder F. Zulian
9c195a42c8 Improvements in tests scripts
Created an extra file memUtil.py which contains utilities that can be imported
and used by other script files.

The idea is to improve maintainability by avoiding duplicate code.
2016-02-16 17:23:20 -02:00
Éder F. Zulian
642899d8b9 Power down related metrics properly displayed (issue#59)
The following metrics will be generated:
- time in PDNA in ns
- time in PDNA percent
- time in PDNP in ns
- time in PDNP percent
- time in SREF in ns
- time in SREF percent
- time in power down states in ns
- time in power down states percent

Other changes:
Avoid a crash that was generated for channels which no accesses performed by
trace players. Now a message will be displayed explained that no metrics were
generated due to the lack of accesses.
2016-02-16 11:46:32 -02:00
Éder F. Zulian
5ed7c56c35 PEP8 related changes.
These changes are a step forward in the direction of the PEP8 style guide for
python code. They do not affect functionality itself.

See also:
https://www.python.org/dev/peps/pep-0008/
2016-02-12 20:36:41 -02:00
Éder F. Zulian
da28a5242b PEP8 related changes.
These changes are a step forward in the direction of the PEP8 style guide for
python code. They do not affect functionality itself.

See also:
https://www.python.org/dev/peps/pep-0008/
2016-02-12 11:55:57 -02:00
Éder F. Zulian
3085b3949b Test script improved
Created classes to get easily memory specifications and memory configurations.
Each class handles the peculiarities of the related XML file.

Other changes:
- git ignore file updated.
2016-02-11 10:35:44 -02:00
Éder F. Zulian
0052e7e9c9 Getting rid of some warnings.
In order to avoid the gcc warning" 'will be initialized after' we need to make
sure the members appear in the initializer list in the same order as they
appear in the class.
2016-02-10 15:21:58 -02:00
Éder F. Zulian
b09aced9ed Implemented a new menu option to reload databases (issue#46).
Other improvements:
- Added option to save changes to databases (e.g., save comments).

- When a database file changes on disk (overwritten by a rerun of DRAMSys or
  changed by any external agent) the action save changes to DB is disabled,
  since it is not safe anymore.

- Implemented menu options coherence. All actions except for "Open" (reload,
  close, save, test and metrics) remain disabled until some database file is
  open.

- Created a shortcut to close all: CTRL+Q

- Status messages containing a timestamp are displayed in the lower left
  corner of the traceAnalyzer window when:
  - User reloads the databases.
  - User saves changes to the databases.
  - Any of the open database files has changed on disk.
2016-02-09 16:21:43 -02:00
Éder F. Zulian
1dc4fff3ca Issue#50 fixed
Phases are recorded by the TlmRecorder by calling the following method:

recordPhase(payload, phase, recordingTime)

In the current design we can find calls to this method in Dram.h, Controller.h
and Arbiter.h.

Inside the TlmRecorder (TlmRecorder.cpp) some phases are terminating phases.

Terminating phases recorded by the controller:
END_RESP (end response)
END_REFA (refresh all)
END_REFB (refresh Bank)

Example:
The DRAM receives transaction with phase BEGIN_REFA and sends to the
controller transaction with phase END_REFA.

IMPORTANT: the DRAM adds the execution time of the related command
(Command::AutoRefresh) to the delay.

The controller calls recordPhase() and the phase this triggers the termination
of the related phase in the TlmRecorder.

Terminating phases recorded by the DRAM:
END_PDNA (end power down active)
END_PDNP (end precharge powerdown)
END_SREF (end self-refresh)
END_PDNAB (end power down active bank)
END_PDNPB (end precharge powerdown bank)
END_SREFB (end self-refresh bank)

These phases were being recorded without taking into consideration the
execution time of the associated command (Command::PDNAX, Command::PDNPX and
Command::SREFX). All of them take one clock cycle to execute.

As result the phases were reduced by 1 clock cycle in the traceAnalyzer
output.
2016-02-02 20:19:00 -02:00
Éder F. Zulian
4a4284ab43 Small fix and improvements in debug messages 2016-02-02 19:09:59 -02:00
Éder F. Zulian
f4f0ef1e06 Merge remote-tracking branch 'upstream/master' 2016-02-02 17:20:48 -02:00
Éder F. Zulian
38e0829360 Invalid commands are ignored.
The data structure that stores last commands is initialized with NOPs. So it
is possible to get a NOP as return of state.getLastScheduledCommand(bank).
2016-02-02 17:01:54 -02:00