Coder Social home page Coder Social logo

g++ -std=c++11 gtop.cc utils.cc display.cc -o gtop -pedantic -Wall -Wextra -lncurses -lpthread gtop.cc:192:39: warning: unused parameter ‘d’ [-Wunused-parameter] void display_stats(const dimensions & d, const tegrastats & ts) { about gtop HOT 3 OPEN

 avatar commented on August 30, 2024
g++ -std=c++11 gtop.cc utils.cc display.cc -o gtop -pedantic -Wall -Wextra -lncurses -lpthread gtop.cc:192:39: warning: unused parameter ‘d’ [-Wunused-parameter] void display_stats(const dimensions & d, const tegrastats & ts) {

from gtop.

Comments (3)

HoneyPatouceul avatar HoneyPatouceul commented on August 30, 2024

Increasing the buffer size is required from R28.2 that logs almost double information with temperatures.
For TX1 on R28.1, cpu index should be 5 and gpu index 7. Note that enabling swap would need to increase these.
The gtop.cc version provided in #1 handles swap (as long as swap info format doesn't change).
If you want to make a new branch with a clean implementation, it would be nice.
It would probably be better to check for keywords (although these change among versions) rather than relying on indexes. I just did that trial and shared as a starting point for anyone it would help, but this may for sure be improved.

from gtop.

 avatar commented on August 30, 2024

Hi HoneyPatouceul,

I am now using the TX2 with 3.2 Jetpack, could you please tell me how to use this gtop.
This is my output
RAM 2605/7846MB (lfb 691x4MB) CPU [0%@1267,0%@345,0%@345,0%@1267,0%@1267,0%@1266] EMC_FREQ 3%@665 GR3D_FREQ 4%@140 APE 150 MTS fg 4% bg 17% BCPU@40C MCPU@40C GPU@39C PLL@40C Tboard@37C Tdiode@38C PMIC@100C [email protected] VDD_IN 2255/2255 VDD_CPU 229/229 VDD_GPU 152/152 VDD_SOC 458/458 VDD_WIFI 0/0 VDD_DDR 347/347

I am getting some error when I use the $sudo ./gtop

Thanks,
Mathi

from gtop.

HoneyPatouceul avatar HoneyPatouceul commented on August 30, 2024

Replied at:
https://devtalk.nvidia.com/default/topic/1005519/jetson-tx1/tegrastats-visualization/post/5256193/#5256193

from gtop.

Related Issues (7)

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.