Coder Social home page Coder Social logo

rosprofiler's Introduction

rosprofiler

Updates by Nico

  • Changed node_monitor.py according to the psutil documentation

    • included correct named tuple referencing in the update function - mem_info
  • Added a client.py file

    • base structure is present
    • Depends on parameters to be set elsewhere which say what to log, otherwise will log everything by default, see here

Nico TODOs:

Check with client.py whether the changes are the same noted down in there

  • Units for the memory management need to be converted, see this stackoverflow

  • Check the sample rates and intervals - do the values get reset each sample - yes, see profiler.py, l. 176

  • Check the psutil memory documentation if we can get more conclusive values. Also check this stackoverflow for what the differences between RSS, VMS and pss are

    • Which one do we use? Depends on ISO 25023 and 25010
      • one to show the free space - for capacity
      • for the host_statistics definitely want one that will show the total used space
      • for the node_statistics want one that will show the allocated and used space
  • The cpu_percent part of the node_statistics, L. 56 may be very misleading - check these and find if there is maybe an absolute value we can use - or if we have to rely on the host_statistics value to then calculate the total usage

  • Create a toy example with listener / talker

  • Extend classes:

    • Bw and HZ from online documentation. Check issuelog
    • Get power values consumption - For the Raspberry: Use the maximum Power consumption (which is likely limited by the USB) and multiply it with the CPU load as a proxy - arguing that heat dissipation will be the major determining factor, with equal r/w access
    • Put power monitoring into message and send over
    • Put different memory values into classes, s.a.
  • Adapt the code to use the new msg type monitoring power and new memory values

  • Check with ISO what is required/ what we can and want to use

Stuff from the original documentation

Build Status Build Status

UPDATES:

  • Changed Naming conventions accordint to this link
  • Changed l. 57 of node_monitor to fit to correct memory allocations, see this link on memory_info()

rosprofiler's People

Contributors

mrdanbrooks avatar wjwwood 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.