Sterling Hughes created MYNEWT-1:
------------------------------------

             Summary: Implement statistics interface
                 Key: MYNEWT-1
                 URL: https://issues.apache.org/jira/browse/MYNEWT-1
             Project: Mynewt
          Issue Type: New Feature
            Reporter: Sterling Hughes
            Assignee: Sterling Hughes


The system should have a unified way of keeping statistics and logging 
messages.  

The statistics interface should allow you to declare a structure of 32-bit or 
64-bit counters that are recorded.

struct STAT(os) {
  STAT_ENTRY32(ctxsw_count)
  STAT_ENTRY64(nrinterrupts)
}; 

These statistics entries should be registered with the system, and there should 
be both debugger APIs and APIs to fetch the statistics over the console.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to