This repository has been archived by the owner on Mar 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
feat: version 3.0 of PowerAPI #49
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…Team/powerapi into feature/clock-rewriting
It's now possible to have a PowerModule composed by several sensor and formula instead of only one sensor and formula
Replace the old static interval (1.seconds) by a value read from a configuration file.
feature(api): Draft of the new power meter API.
Change the list conversion to be able to read the variables from a configuration file. fix(cpu-sensor): problem with the TargetUsageRatio when the All target is received, fix #42 Create a case class to store the global cpu time (with idle) and the active global cpu time (without idle) in order to compute correctly the TargetUsageRatio. refactor(PowerMeter): improve code Use the configuration trait instead of an object with a default timeout, change the null by Option.
The Formula is now listening the MonitorTick messages instead of UsageReport messages in order to compute the TargetUsageRatio differently.
Simplify the collect method by checking the time enabled/running refactor(PowerMeter): Change the definition of PowerModule A PowerModule is now a class and the code was improving refactor(target): Move the Target definitions To be able to use the targets in Java, their definitions is now written in dedicated file.
Change the name of the function load() in object PowerMeter to resolve name conflict with the function load() in trait Configuration (extended by the PowerMeter class)
…l/active times There was a problem during the computation of the global active time (a substraction was missing)
…early There was a problem when the MonitorAggFunction was received too early, then the aggregating function was not correctly used.
Implement the Processing and PolynomialRegression objects for processing data from a sampling.
Add a new project for the sampling chore(plugin): add a plugin Add the sbt-native-packager plugin for creating different package (jar, archive and so on)
Implement the sampling project with an Application (it must be used with the bash script)
feature(sampling): Implement the sampling project
Rewrite tests for slow systems, add the corresponding configuration file
Update building files for using the codacy web tool (project's code review).
There was a problem with the monitor method, the ask was not blocking there. refactor(code): improve code readability Clean the code
…ules Put configuration parameters inside specific files and load them in the modules. refactor(import): put the import in the beginning of each file Respect the convention for the imports.
Add tests for configuration traits
Write the needed configuration for publishing the powerapi-core artifact.
The application crashed when the getProcesses method was called with a non-existing application fix(PowerSpy): fix a problem with Process/Application targets The idle power was added to the dynamic power for these targets, it was not correct refactoring(targets): add missing toString method Add a toString method to each target refactoring(PowerChannel): modify the AggregatePowerReport Given the fact the AggregatePowerReport aggregates data from several targets and sources, all these informations are kept in order to de displayed to the end-user.
fix(cli): change executable script name
feat: Implement the CLI
feat: Implement RAPL module
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The new version of PowerAPI includes a deep refactoring of the library to better support latest developments around the library and providing better performances and accuracy in the power estimations that are reported by the software-defined power meters built on top of PowerAPI.