You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "Sterling Hughes (JIRA)" <ji...@apache.org> on 2015/11/03 22:02:27 UTC

[jira] [Created] (MYNEWT-1) Implement statistics interface

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)