Coder Social home page Coder Social logo

sysmonitor's Introduction

Sysmonitor Component

Component Registry Build examples

  • taskmonitor
  • memmonitor
  • periphmonitor

Get the Component From Component Registry

  1. using idf.py add-dependency "leeebo/sysmonitor=*" to add the component to your project
  2. copy sysmonitor/sdkconfig.defaults to your project (to enable FreeRTOS stats)

Taskmonitor Functions

  1. include taskmonitor.h or other monitor header file
  2. init with taskmonitor_init();
  3. taskmonitor_start(); to start monitor
  4. the task info like below will be dumped with default interval 3s
  5. you can change the interval in menuconfig
This is esp32s3 chip with 2 CPU core(s), WiFi/BLE, silicon revision v0.1, 2MB external flash
I (3318) TaskMonitor: -----------------Task Dump Start-----------------
|Load   Stack   State   CoreID  PRI     Name|
|0.59   704     Running 0       1       Tmr Svc|
|87.14  1944    Ready   0       1       main|
|100.00 808     Ready   1       0       IDLE1|
|12.27  800     Ready   0       0       IDLE0|
|0.00   536     Suspend 0       24      ipc0|
|0.00   528     Suspend 1       24      ipc1|
I (3328) TaskMonitor: Total Free heap: 383704
I (3328) TaskMonitor: -----------------Task Dump End-------------------
  • Load:CPU Load (single core)
  • Stack Left: left stack size
  • Name:task name
  • PRI:task priority

sysmonitor's People

Contributors

leeebo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.