mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Merge pull request #14558 from hahnjo/flops
Add units for Floating Point Operations per Second
This commit is contained in:
commit
87cc3902b7
@ -484,6 +484,14 @@ kbn.valueFormats.Mbits = kbn.formatBuilders.decimalSIPrefix('bps', 2);
|
|||||||
kbn.valueFormats.GBs = kbn.formatBuilders.decimalSIPrefix('Bs', 3);
|
kbn.valueFormats.GBs = kbn.formatBuilders.decimalSIPrefix('Bs', 3);
|
||||||
kbn.valueFormats.Gbits = kbn.formatBuilders.decimalSIPrefix('bps', 3);
|
kbn.valueFormats.Gbits = kbn.formatBuilders.decimalSIPrefix('bps', 3);
|
||||||
|
|
||||||
|
// Floating Point Operations per Second
|
||||||
|
kbn.valueFormats.flops = kbn.formatBuilders.decimalSIPrefix('FLOP/s');
|
||||||
|
kbn.valueFormats.mflops = kbn.formatBuilders.decimalSIPrefix('FLOP/s', 2);
|
||||||
|
kbn.valueFormats.gflops = kbn.formatBuilders.decimalSIPrefix('FLOP/s', 3);
|
||||||
|
kbn.valueFormats.tflops = kbn.formatBuilders.decimalSIPrefix('FLOP/s', 4);
|
||||||
|
kbn.valueFormats.pflops = kbn.formatBuilders.decimalSIPrefix('FLOP/s', 5);
|
||||||
|
kbn.valueFormats.eflops = kbn.formatBuilders.decimalSIPrefix('FLOP/s', 6);
|
||||||
|
|
||||||
// Hash Rate
|
// Hash Rate
|
||||||
kbn.valueFormats.Hs = kbn.formatBuilders.decimalSIPrefix('H/s');
|
kbn.valueFormats.Hs = kbn.formatBuilders.decimalSIPrefix('H/s');
|
||||||
kbn.valueFormats.KHs = kbn.formatBuilders.decimalSIPrefix('H/s', 1);
|
kbn.valueFormats.KHs = kbn.formatBuilders.decimalSIPrefix('H/s', 1);
|
||||||
@ -1019,6 +1027,17 @@ kbn.getUnitFormats = () => {
|
|||||||
{ text: 'exahashes/sec', value: 'EHs' },
|
{ text: 'exahashes/sec', value: 'EHs' },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
text: 'computation throughput',
|
||||||
|
submenu: [
|
||||||
|
{ text: 'FLOP/s', value: 'flops' },
|
||||||
|
{ text: 'MFLOP/s', value: 'mflops' },
|
||||||
|
{ text: 'GFLOP/s', value: 'gflops' },
|
||||||
|
{ text: 'TFLOP/s', value: 'tflops' },
|
||||||
|
{ text: 'PFLOP/s', value: 'pflops' },
|
||||||
|
{ text: 'EFLOP/s', value: 'eflops' },
|
||||||
|
],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
text: 'throughput',
|
text: 'throughput',
|
||||||
submenu: [
|
submenu: [
|
||||||
|
Loading…
Reference in New Issue
Block a user