These are chat archives for Spirals-Team/powerapi

11th
May 2016
GreenFLOPS
@greenflops
May 11 2016 12:43
Hello I am new to powerapi. I pushed the latest from github and compiled but the execution throw me a "unknown monitor option --targets" when trying to launch "./bin/powerapi modules procfs-cpu-simple monitor --frequency 1000 --targets 14889 --agg max --console" ... any clue?
GreenFLOPS
@greenflops
May 11 2016 12:56
I have a binary with PID 14889, how can I monitor its consumption?
GreenFLOPS
@greenflops
May 11 2016 13:06
I tried the -apps flag, which seems to work well but I have only 0.0mW ... (I've putpowerapi.cpu.tdp = 35 in the powerapi.conf file
GreenFLOPS
@greenflops
May 11 2016 13:41
It is ok I could get the mW values with the --pids flag
Maxime Colmant
@mcolmant
May 11 2016 14:05

Hi, sorry, I did several changes inside the API and I did not have the time yet to rewrite the documentation.
Btw, you could get the help by using the —help flag :)

It is strange that you cannot use the —apps flag, what system do you use?

GreenFLOPS
@greenflops
May 11 2016 14:06
hello, no everything is ok now I made mistakes in typing the command. I can use both the --apps and --pids
btw Ilook for a similar tool to measure power on GPUs and FPGAs...
Maxime Colmant
@mcolmant
May 11 2016 14:12
Ok then PowerAPI is not designed to work on such component, but being modular, it is thus possible to create new models for fitting your needs. We plan to study and to model the GPU power consumption but it is not yet scheduled