flops: Flops Constructor

Description Usage Arguments Details Value Examples

Description

Function to build a flops object.

Usage

1
flops(size = 0, unit)

Arguments

size

A number of flops, scaled by the input unit unit.

unit

An SI unit of flops (e.g., MFLOPS for MegaFLOPS, GFLOPS for GigaFLOPS, etc.).

Details

This provides a simple way of representing flops, scaled by some SI unit (e.g., mega, giga, ...).

Value

Returns a flops object.

Examples

1
2
3
4
5
## Not run: 
library(okcpuid, quietly=TRUE)
flops(2000000) # 2 MFLOPS

## End(Not run)

shinra-dev/okcpuid documentation built on May 29, 2019, 9:25 p.m.