Skip to content
This repository has been archived by the owner on Mar 11, 2019. It is now read-only.

Implement the CLI #48

Merged
merged 2 commits into from
Mar 10, 2015
Merged

Implement the CLI #48

merged 2 commits into from
Mar 10, 2015

Conversation

huertas
Copy link
Contributor

@huertas huertas commented Mar 5, 2015

No description provided.

|Build a software-defined power meter. Don't forget to configure correctly the modules (see the documentation).
|
|usage: ./powerapi-cli modules [cpu-simple|cpu-dvfs|libpfm-core|libpfm-core-proces|powerspy, ...]
| monitor --frequency [ms] --targets [pid, ..., app, ...)|all] --agg [max|min|geomean|logsum|mean|median|stdev|sum|variance] --[console,file [filepath],chart]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does monitor stands for?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In order to start a new monitor (see the example). Useful for creating several monitorings on a same PowerMeter.

@mcolmant mcolmant added this to the 3.0 milestone Mar 5, 2015
@mcolmant mcolmant force-pushed the feature/powerapi-cli branch from 6b6601d to 6319340 Compare March 6, 2015 14:56
@mcolmant mcolmant force-pushed the feature/powerapi-cli branch from 6319340 to e39a530 Compare March 6, 2015 15:00
@volatile var monitors = Seq[PowerMonitoring]()

val shutdownHookThread = scala.sys.ShutdownHookThread {
println("It's the time for sleeping! ...")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should avoid such messages.

@huertas huertas force-pushed the feature/powerapi-cli branch from 207394e to e39a530 Compare March 10, 2015 13:08
fix(cli): change executable script name
rouvoy added a commit that referenced this pull request Mar 10, 2015
@rouvoy rouvoy merged commit 930941a into develop Mar 10, 2015
@rouvoy rouvoy deleted the feature/powerapi-cli branch March 10, 2015 15:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants