You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by GitBox <gi...@apache.org> on 2021/06/02 15:42:37 UTC

[GitHub] [mesos] qianzhangxa edited a comment on pull request #391: Fixed parsing of `perf` output on some locales.

qianzhangxa edited a comment on pull request #391:
URL: https://github.com/apache/mesos/pull/391#issuecomment-853135728


   > root@thinkpad:~# LC_NUMERIC=fr_FR.UTF-8 perf stat --field-separator "/"
   > -- true
   > 0,31/msec/task-clock/306721/100,00/0/CPUs utilized
   > 0//context-switches/306721/100,00/0/K/sec
   > 0//cpu-migrations/306721/100,00/0/K/sec
   > 44//page-faults/306721/100,00/0/M/sec
   > 788234//cycles/311478/100,00/2/GHz
   > 538077//instructions/311478/100,00/0/insn per cycle
   > 106749//branches/311478/100,00/348/M/sec
   > 4556//branch-misses/311478/100,00/4/of all branches
   
   When I run `LC_NUMERIC=fr_FR.UTF-8 perf stat --field-separator "/" -- true` in my machine, I see something like:
   `0//cpu-migrations/779898/100.00/0.000/K/sec` which is different from yours, it seems still using `.` as decimal separator (i.e. `100.00` and `0.000`).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org