##// END OF EJS Templates
Fixed again CPU usage measurement...
Fixed again CPU usage measurement Previous fix was still wrong, now we call all the time rtems_cpu_usage_reset to only get stats since last measurement. All previous versions were also wrong since they use to send cpu usage with 100=100% instead of 255=100%.

File last commit:

r197:d5570d7e57e2 R3
r381:a9b894b0ab6a 3.2.0.19 No PWD scrub with...
Show More
grspw.h
8 lines | 271 B | text/x-c | CLexer
#ifndef GRSPW_H_INCLUDED
#define GRSPW_H_INCLUDED
int grspw_set_ie( unsigned char value, unsigned int *ctrlReg );
int grspw_set_tq( unsigned char value, unsigned int *ctrlReg );
int grspw_set_tr( unsigned char value, unsigned int *ctrlReg );
#endif // GRSPW_H_INCLUDED