Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Colors in PCM? #804

Unanswered
Erotemic asked this question in Q&A
Discussion options

I'm on Ubuntu 22.04 with an i9-11900K, and I'm interested in using pcm to determine if data transfer is a bottleneck in my applications. Some googling pointed me to this application as a way to get some insight. However, walls of text are hard to read, and I would like to have a nice looking output in the terminal.

In the README, there is an image where the PCM output in the terminal has ANSI coloring, which makes it much easier to read. However, when I run:

sudo apt install pcm
sudo pcm

All of the text I get on screen has the same color. I searched the --help and environment variable documentation as well as the FAQ to see if there was something I had to do to enable colors, but I didn't see anything.

Is there a way that I can enable colored output? Is this possible with the apt version of the tool? Do I need to build from source with special compile time operations?

EDIT: I did compile from source, but still didn't see any way to enable colors.

EDIT: It also looks like I can't use pcm-pcie on a rocket lake architecture 😞. I'm getting Jaketown, Ivytown, Haswell, Broadwell-DE Server CPU is required for this tool! Program aborted.

You must be logged in to vote

Replies: 1 comment

Comment options

yes, you are right. The version from apt is not the latest. Please build from source on github and also use the --color option (--help suggests it). For the rocket lake it is a known limitation: https://github.com/intel/pcm/blob/master/doc/FAQ.md#q12

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /