I was written state machine implementation using C++ code , Now i need calculate the transition timing between one system state to another system state ? Please help any API is there in C++ to calculate timing between the states ?
Please suggest ideas any other way to calculate state transition timing ? Ex:
System is in ON state --> System is OFF state { timing between on to Off and Graph }
Example:systemd-analyze to create timing graph based process spwaned
Thanks in Advance