Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get energy consumption #8

Closed
GFLY-PAPER opened this issue Oct 11, 2020 · 3 comments
Closed

How to get energy consumption #8

GFLY-PAPER opened this issue Oct 11, 2020 · 3 comments

Comments

@GFLY-PAPER
Copy link

hello,How do I get energy consumption data when I run it.

@jleidel
Copy link
Contributor

jleidel commented Oct 11, 2020

Look at the following example. You need to load a power configuration file that definitions the power utilization for each HMC sub component. These values will be utilized to accumulate power statistics for individual components and the entire device.

https://github.com/tactcomplabs/gc64-hmcsim/tree/master/test/stream_power_config

@GFLY-PAPER
Copy link
Author

After I use the hmcsim_read_config() function to configure, there is still no output of energy consumption results after running. Is the corresponding output function not provided?

@jleidel
Copy link
Contributor

jleidel commented Oct 12, 2020

You're likely not enabling the tracing in the API. In the same test, look at the execute_test.c file. Specifically lines 122-129. This is the code required to open an output file, send the handle to HMC-Sim and enable all the tracing.

@jleidel jleidel closed this as completed Oct 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants