-
Notifications
You must be signed in to change notification settings - Fork 56
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
No PAPI_get_event_info
for component events?
#93
Comments
@bertwesarg sorry for the delay. From what I can see some components use |
Thanks, datatype is probably the least interesting here ;-) But my understanding was, that not everything is cast to union {
long long ll;
double fp;
} return_value;
return_value.fp = -1;
EMONDBG( "_emon_accessor, enter this_state = %x\n", this_state);
return_value.fp = EMON_GetPower_impl( volts, amps );
EMONDBG("_emon_accessor, after EMON_GetPower %lf \n", return_value.fp);
if ( -1 == return_value.fp ) {
PAPIERROR("EMON_GetPower() failed!\n");
return ( PAPI_ESYS );
}
this_state->counters[7] = return_value.ll; |
But the component is not exposing a pointer to a
|
But I'm actually more interested in |
AMD is investigating providing more metadata for its metrics. At least
PAPI_DATATYPE
,PAPI_VALUETYPE
, andPAPI_TIMESCOPE
would be great. However, I don't currently see any code in PAPI that would allow a component to actually provide this information to the caller ofPAPI_get_event_info
. Can the PAPI team comment on this? Thanks.The text was updated successfully, but these errors were encountered: