MCPcopy
hub / github.com/NVIDIA/aistore / FastV

Function FastV

3rdparty/glog/glog.go:1001–1003  ·  view source on GitHub ↗

FastV similarly to V checks if verbosity level is enough to print the log message. It is a fast inline function that doesn't take vmodule into account. As such, it is intended to be used for the datapath, primarily.

(level Level, smodule uint8)

Source from the content-addressed store, hash-verified

999// message. It is a fast inline function that doesn't take vmodule into account.
1000// As such, it is intended to be used for the datapath, primarily.
1001func FastV(level Level, smodule uint8) Verbose {
1002 return Verbose(logging.verbosity.get() >= level || smodules[smodule] >= level)
1003}
1004
1005// SetV sets verbosity level for static module.
1006//

Callers 15

initFunction · 0.92
initFunction · 0.92
recvObjRegularMethod · 0.92
recvRegularAckMethod · 0.92
findEmptyTargetMethod · 0.92
RunRebalanceMethod · 0.92
runNoECMethod · 0.92
retransmitMethod · 0.92
finiMethod · 0.92
objSentCallbackMethod · 0.92
InitFunction · 0.92
_mvSliceFunction · 0.92

Calls 2

VerboseTypeAlias · 0.85
getMethod · 0.65

Tested by 1

TestFastVFunction · 0.68