MCPcopy Create free account

hub / github.com/PlatformLab/NanoLog / functions

Functions401 in github.com/PlatformLab/NanoLog

↓ 181 callersFunctionpack
runtime/Packer.h:93
↓ 147 callersFunctionrdtsc
* Return the current value of the fine-grain CPU cycle counter * (accessed via the RDTSC instruction). */
runtime/Perf.cc:96
↓ 65 callersMethodopen
* Opens a compressed log with contents created by Encoder. * * \param filename * Compressed log file to open * \return * True if succes
runtime/Log.cc:1074
↓ 42 callersFunctiongetParamInfo
runtime/NanoLogCpp17.h:131
↓ 40 callersFunctionsplitAndParseTypesInFmtString
(fmtString)
preprocessor/FunctionGenerator.py:737
↓ 38 callersMethodencodeLogMsgs
* Interprets the uncompressed log messages (created by the compile-time * generated code) contained in the *from buffer and compresses them to * the
runtime/Log.cc:208
↓ 32 callersFunctionpeekEntryType
* Peek into a data array and identify the next entry embedded in the * compressed log (if there is one) and read it back. * * \param in
runtime/Log.h:460
↓ 28 callersMethodgenerateLogFunctions
(self, logLevel, fmtString, compilationName, filename, linenum)
preprocessor/FunctionGenerator.py:343
↓ 22 callersFunctiondiscard
* This function just discards its argument. It's used to make it * appear that data is used, so that the compiler won't optimize * away the code we
runtime/Perf.cc:79
↓ 22 callersFunctiongetArgSize
runtime/NanoLogCpp17.h:548
↓ 22 callersFunctionstore_argument
runtime/NanoLogCpp17.h:368
↓ 21 callersMethodgetEncodedBytes
* Retrieve the number of bytes encoded in the internal buffer * * \return * Number of bytes encoded in the internal buffer */
runtime/Log.cc:446
↓ 20 callersFunctionprintSingleArg
runtime/Log.cc:1246
↓ 19 callersFunctiongetSizeOfPackedValues
* Given a stream of nibbles, return the total number of bytes used to represent * the values encoded with the nibbles. * * \param nibbles * T
runtime/Packer.h:300
↓ 19 callersFunctionparseArgumentStartingAt
(lines, startPos)
preprocessor/parser.py:147
↓ 16 callersFunctionextractCString
(source)
preprocessor/parser.py:113
↓ 15 callersMethodfinishReservation
* Complement to reserveProducerSpace that makes nbytes starting * from the return of reserveProducerSpace visible to the consumer.
runtime/RuntimeLogger.h:340
↓ 15 callersMethodgetNextLogStatement
* Iterative interface to decompress the next log statement (if there are any) * in the log file and optionally prints it via outputFd. The log statem
runtime/Log.cc:1965
↓ 15 callersMethodreserveSpaceInternal
* Attempt to reserve contiguous space for the producer without making it * visible to the consumer (See reserveProducerSpace). * * This is the slow pa
runtime/RuntimeLogger.cc:743
↓ 13 callersMethodcurrent
(self)
preprocessor/docopt.py:297
↓ 13 callersFunctionisStringType
(typeStr)
preprocessor/FunctionGenerator.py:877
↓ 12 callersMethodmove
(self)
preprocessor/docopt.py:294
↓ 11 callersMethodgetTimestamp
Returns the runtime timestamp for the log invocation.
runtime/Log.cc:581
↓ 11 callersMethodvalid
Indicates whether the structure stores a valid log statement or not
runtime/Log.cc:566
↓ 10 callersFunctioncompressLogHeader
* Extract the information from an UncompressedLogEntry and re-encode it * as a CompressedRecordEntry. Here, the provided lastTimestamp is provide
runtime/Log.h:513
↓ 10 callersMethodpeek
* Peek at the data available for consumption within the stagingBuffer. * The consumer should also invoke consume() to release space back * to the prod
runtime/RuntimeLogger.cc:818
↓ 10 callersMethodreadBufferExtent
* Read in the next buffer fragment from the compressed log. If an error occurs * the file descriptor will be in an undefined state. * * \param fd
runtime/Log.cc:1181
↓ 9 callersFunctiondecompressLogHeader
* Read in and decompress the log metadata from a CompressedRecordEntry * * \param in * Character array to read the entry from
runtime/Log.h:548
↓ 9 callersMethodgetLogId
Returns the preprocessor-assigned log identifier for this log message
runtime/Log.cc:576
↓ 9 callersFunctiongetLogLevel
runtime/NanoLog.cc:37
↓ 9 callersMethodpush
runtime/Log.h:755
↓ 8 callersMethodconsume
* Consumes the next nbytes in the StagingBuffer and frees it back * for the producer to reuse. nbytes must be less than what is
runtime/RuntimeLogger.h:361
↓ 8 callersMethodget
runtime/Log.h:784
↓ 8 callersMethodmatch
(self, left, collected=None)
preprocessor/docopt.py:270
↓ 8 callersMethodreadDictionary
* Reads the metadata necessary to decompress log messsages from a log file. * This function can be invoked incrementally to build a larger dictionary
runtime/Log.cc:636
↓ 8 callersMethodreserveProducerSpace
* Attempt to reserve contiguous space for the producer without * making it visible to the consumer. The caller should invoke
runtime/RuntimeLogger.h:321
↓ 8 callersFunctionserialize
Measure the cost of cpuid
runtime/Perf.cc:1120
↓ 8 callersFunctionsetLogLevel
runtime/NanoLog.cc:41
↓ 8 callersFunctionstaticStrlen
runtime/NanoLogCpp17Test.cc:383
↓ 7 callersMethoddecompressNextLogStatement
* Attempt to read back the next log statement contained in the BufferFragment, * output the original log message to outputFd, and if applicable, run
runtime/Log.cc:1304
↓ 7 callersFunctiongenerateLogIdStr
(fmtString, filename, linenum)
preprocessor/FunctionGenerator.py:893
↓ 7 callersMethodhasNext
* Whether one can invoke decompressNextLogStatement or not */
runtime/Log.cc:1663
↓ 7 callersFunctionmemcpyShared
Measure the cost of copying a given number of bytes with memcpy.
runtime/Perf.cc:729
↓ 7 callersFunctionpeekNextMeaningfulChar
(lines, filePos)
preprocessor/parser.py:295
↓ 7 callersMethodreserve
* Reserve/Allocate enough space for N parameters in the structure * * \param nparams * Number of parameters to ensure space for */
runtime/Log.cc:513
↓ 7 callersFunctionsync
runtime/NanoLog.cc:45
↓ 6 callersFunctionarraySize
runtime/Util.h:184
↓ 6 callersFunctiongetArgSizes
runtime/NanoLogCpp17.h:696
↓ 6 callersMethodgetNumArgs
Returns the number of arguments currently stored for the log.
runtime/Log.cc:571
↓ 6 callersMethodgetRecordFunctionDefinitionsFor
(self, compilationUnit)
preprocessor/FunctionGenerator.py:306
↓ 6 callersMethodinternalDecompressUnordered
* Decompress the log file that was open()-ed and print the message out in * an arbitrary order (i.e. dependent on runtime implementation and not * n
runtime/Log.cc:1702
↓ 6 callersFunctionparseLogStatement
(lines, startPosition)
preprocessor/parser.py:226
↓ 6 callersFunctionreadCheckpoint
* Extracts a checkpoint from a file descriptor. * * \param[out] cp * Checkpoint structure to read the data into * \param fd
runtime/Log.h:586
↓ 6 callersMethodreadDictionaryFragment
* Reads a partial dictionary from the log file and adds it to the global * mapping of log identifiers to static log information. * * \param fd *
runtime/Log.cc:979
↓ 6 callersMethodreset
* Ready's the structure for a new log statement by reassigning the static * log information. Dynamic arguments can then be push()-ed into the * stru
runtime/Log.cc:556
↓ 5 callersMethodencodeNewDictionaryEntries
* Given a vector of StaticLogInfo and a starting index, encode all the static * log information into a partial dictionary for the Decompressor to use
runtime/Log.cc:138
↓ 5 callersMethodflat
(self, *types)
preprocessor/docopt.py:109
↓ 5 callersFunctiongetNumNibblesNeeded
runtime/NanoLogCpp17.h:330
↓ 5 callersMethodoutputMappingFile
(self, filename)
preprocessor/FunctionGenerator.py:126
↓ 5 callersFunctionstore_arguments
runtime/NanoLogCpp17.h:465
↓ 4 callersFunctioncountFmtParams
runtime/NanoLogCpp17.h:307
↓ 4 callersMethoddecompressTo
* Decompress the log file that was open()-ed and print the log messages out * in chronological order. * * \param outputFd * The file descript
runtime/Log.cc:1794
↓ 4 callersMethodencodeBufferExtentStart
* Internal function that encodes a marker indicating that all log messages * after this point (but after the next marker) belong to a particular buff
runtime/Log.cc:409
↓ 4 callersFunctionformat
A safe version of sprintf.
runtime/Util.cc:34
↓ 4 callersMethodgetNextLogTimestamp
* Return the timestamp of the next log message that can be outputted. It is * the responsibility of the caller to ensure that the BufferFragment cont
runtime/Log.cc:1673
↓ 4 callersMethodlogSomething
integrationTest/SimpleTestObject.cc:28
↓ 4 callersFunctionprintHelp
* Prints the usage information to stdout. * * \param exe * Name of the executable */
runtime/LogDecompressor.cc:118
↓ 4 callersFunctionrecordPrimitive
runtime/Log.h:609
↓ 4 callersFunctionsetLogFile
runtime/NanoLog.cc:33
↓ 3 callersMethodallocateBufferFragment
* Allocates a BufferFragment to read BufferExtents into * * \return * Allocated BufferFragment */
runtime/Log.cc:1118
↓ 3 callersFunctionfreadHelper
* Reads a number of bytes from an fread repeatedly and times it * * \param readSize * Number of bytes to read at once * * \return total
runtime/Perf.cc:218
↓ 3 callersMethodfreeBufferFragment
* Internal function to store a BufferFragment on the free list * * \param bf * BufferFragment to store */
runtime/Log.cc:1136
↓ 3 callersFunctiongetCount
runtime/LogTest.cc:2209
↓ 3 callersMethodgetId
runtime/RuntimeLogger.h:380
↓ 3 callersFunctiongetStats
runtime/NanoLog.cc:10
↓ 3 callersFunctionifstreamReadHelper
* Reads a number of bytes from an ifstream repeatedly and times it * * \param readSize * Number of bytes to read at once * * \return tot
runtime/Perf.cc:172
↓ 3 callersMethodload
* Return the current value. */
runtime/Atomic.h:149
↓ 3 callersFunctionpreallocate
runtime/NanoLog.cc:29
↓ 3 callersFunctionprintConfig
runtime/NanoLog.cc:14
↓ 3 callersFunctionresetCount
runtime/LogTest.cc:2204
↓ 3 callersFunctionwriteDictionary
Writes the metadata needed by the decompressor to interpret the log messages generated by compressFn.
preprocessor/unitTestData/test_outputCompilationFiles.h:704
↓ 2 callersMethodadd
* Atomically increment the value by a given amount. * * \param increment * How much to add to the value. If the value is a pointer
runtime/Atomic.h:73
↓ 2 callersFunctionbindThreadToCpu
* Ask the operating system to pin the current thread to a given CPU. * * \param cpu * Indicates the desired CPU and hyperthread; low order 2 b
runtime/Perf.cc:63
↓ 2 callersFunctionencode
(string)
preprocessor/FunctionGenerator.py:894
↓ 2 callersMethodensureStagingBufferAllocated
* Allocates thread-local structures if they weren't already allocated. * This is used by the generated C++ code to ensure it has space to
runtime/RuntimeLogger.h:171
↓ 2 callersFunctiongenerateIdVariableNameFromLogId
(logId)
preprocessor/FunctionGenerator.py:890
↓ 2 callersMethodgetEndOfPackedArguments
* Returns a pointer to to the first byte beyond the last pack()-ed value * * \return * Pointer to the first byte beyond last pack(
runtime/Packer.h:400
↓ 2 callersFunctionisDigit
* Checks whether a character is a digit (0-9) or not. * * \param c * character to check * \return * true if the character is a digit *
runtime/NanoLogCpp17.h:111
↓ 2 callersFunctionisWideString
(typeStr)
preprocessor/FunctionGenerator.py:886
↓ 2 callersFunctionmanualCopy
* Measure the cost of copying cpyBytes from cold/hot source/destinations * * \param cpySize * Size of the copy * \param coldSrc *
runtime/Perf.cc:694
↓ 2 callersMethodoutputCompilationFiles
(outputFileName="BufferStuffer.h", inputFiles=[])
preprocessor/FunctionGenerator.py:156
↓ 2 callersFunctionparse_defaults
(doc)
preprocessor/docopt.py:452
↓ 2 callersFunctionparse_expr
expr ::= seq ( '|' seq )* ;
preprocessor/docopt.py:377
↓ 2 callersFunctionparse_long
long ::= '--' chars [ ( ' ' | '=' ) chars ] ;
preprocessor/docopt.py:301
↓ 2 callersFunctionparse_section
(name, source)
preprocessor/docopt.py:464
↓ 2 callersFunctionparse_seq
seq ::= ( atom [ '...' ] )* ;
preprocessor/docopt.py:390
↓ 2 callersFunctionparse_shorts
shorts ::= '-' ( chars )* [ [ ' ' ] chars ] ;
preprocessor/docopt.py:334
↓ 2 callersFunctionprintHelp
()
benchmarks/genConfig.py:5
↓ 2 callersFunctionprintHelp
benchmarks/aggregation/simpleRead.cpp:14
↓ 2 callersFunctionprocessFile
(inputFile, mapOutputFilename)
preprocessor/parser.py:323
next →1–100 of 401, ranked by callers