Skip to content

Conversation

@regrant
Copy link
Collaborator

@regrant regrant commented Jul 24, 2020

No description provided.

@regrant
Copy link
Collaborator Author

regrant commented Jul 24, 2020

  1. Discussions on whether we should support timestamps? If we do, where do they apply? Hardware? System software timestamp?

  2. Do we want to include a threshold in the change of the value before a callback is triggered?

@regrant
Copy link
Collaborator Author

regrant commented Sep 18, 2020

Interfaces for tracking:

int PWR_ObjAttrStartMonitor( PWR_Obj, PWR_AttrName name, void (handler)(void,void*), void* info, double threshold );
int PWR_ObjAttrStopMonitor( PWR_Obj, PWR_AttrName name );

could express newValue as a defined type, but not all return types will be doubles:
int PWR_ObjAttrStartMonitor( PWR_Obj, PWR_AttrName name, int (handler)(void,double newValue), void* info, double threshold );

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

Successfully merging this pull request may close these issues.

2 participants