diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2024-02-01 13:05:38 -0300 |
---|---|---|
committer | John Kacur <jkacur@redhat.com> | 2024-02-02 11:29:37 -0500 |
commit | 251d082403b371098c8420c01d1b058b12a9cc78 (patch) | |
tree | a4f3688df20c3c36902825fcb4d9eb2af8961961 | |
parent | 0ff13431d2d132ba21ce82a6def38e7d0e18a045 (diff) | |
download | rt-tests-251d082403b371098c8420c01d1b058b12a9cc78.tar.gz |
rt-tests: oslat should use MHz, not Mhz
Usage of Mhz, in oslat, is incorrect:
From https://www.nist.gov/pml/owm/writing-si-metric-system-units#:~:text=NOT%20250%20mms.-,Capitalization,the%20beginning%20of%20the%20sentence:
"When the unit is derived from the name of a person, the symbol or the first letter of the symbol is an uppercase letter (W for the unit "watt" or Pa for the unit "pascal")."
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Reported-by: Chuck Newman <chuck.newman@hpe.com>
Signed-off-by: John Kacur <jkacur@redhat.com>
-rw-r--r-- | src/oslat/oslat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/oslat/oslat.c b/src/oslat/oslat.c index 4bdca64..e398f20 100644 --- a/src/oslat/oslat.c +++ b/src/oslat/oslat.c @@ -501,7 +501,7 @@ static void write_summary(struct thread *t) calculate(t); putfield("Core", t[i].core_i, "d", ""); - putfield("Counter Freq", t[i].counter_mhz, "u", " (Mhz)"); + putfield("Counter Freq", t[i].counter_mhz, "u", " (MHz)"); for (j = 0; j < g.bucket_size; j++) { if (j < g.bucket_size-1 && g.output_omit_zero_buckets) { |