MCPcopy Create free account

hub / github.com/1a1a11a/libCacheSim / functions

Functions3,238 in github.com/1a1a11a/libCacheSim

↓ 355 callersFunctionassert
(condition, message)
libCacheSim-node/test.js:22
↓ 202 callersMethodsize
libCacheSim/dataStructure/robin_hood.h:2091
↓ 194 callersMethodfind
libCacheSim/dataStructure/robin_hood.h:1935
↓ 103 callersMethodremove
libCacheSim/cache/eviction/cpp/abstractRank.hpp:84
↓ 102 callersMethodend
libCacheSim/dataStructure/robin_hood.h:1996
↓ 94 callersMethodget
libCacheSim/dataStructure/sparsepp/spp_smartptr.h:44
↓ 93 callersMethodinsert
libCacheSim/dataStructure/splaytree.hpp:390
↓ 83 callersMethodbegin
@brief Get an iterator to the first element. @return An iterator to the first element.
example/cacheHierarchy/fkYAML/node.hpp:10504
↓ 83 callersFunctionread_one_req
* @brief read one request from trace file * * @param reader * @param req * @return 0 if success, 1 if end of file */
libCacheSim/traceReader/reader.c:236
↓ 82 callersFunctionremove_obj_from_list
remove the object from the built-in doubly linked list * * @param head * @param tail * @param cache_obj */
libCacheSim/cache/cacheObj.c:57
↓ 82 callersMethodsize
example/cacheHierarchy/fkYAML/node.hpp:396
↓ 80 callersMethodend
@brief Get an iterator to the past-the-last element. @return An iterator to the past-the-last element.
example/cacheHierarchy/fkYAML/node.hpp:10516
↓ 73 callersMethodevict
libCacheSim/cache/eviction/LRB/lrb.cpp:407
↓ 71 callersFunctionnew_request
* allocate a new request_t struct and fill in necessary field * @return */
libCacheSim/include/libCacheSim/request.h:77
↓ 68 callersFunctionatoi
example/cacheHierarchy/fkYAML/node.hpp:5165
↓ 61 callersMethodemplace_back
libCacheSim/cache/eviction/LRB/lrb.h:189
↓ 58 callersMethodbegin
libCacheSim/dataStructure/robin_hood.h:1977
↓ 58 callersFunctioncache_struct_init
* @brief this function is called by all eviction algorithms to initialize the * cache * * @param ccache_params common cache parameters * @param in
libCacheSim/cache/cache.c:28
↓ 58 callersMethodempty
libCacheSim/dataStructure/robin_hood.h:2101
↓ 57 callersFunctioncache_struct_free
* @brief this function is called by all eviction algorithms to free the cache * * @param cache */
libCacheSim/cache/cache.c:76
↓ 54 callersMethodat
NOLINTNEXTLINE(modernize-use-nodiscard)
libCacheSim/dataStructure/robin_hood.h:1913
↓ 54 callersFunctionfree_request
* free the memory used by req * @param req */
libCacheSim/include/libCacheSim/request.h:115
↓ 53 callersFunctioncache_get_base
* @brief this function is called by all eviction algorithms * it performs the following logic * * ``` * if obj in cache: * update_metadata *
libCacheSim/cache/cache.c:223
↓ 53 callersFunctiontype_error
@brief Construct a new type_error object with an error message and a node type. @param[in] msg An error message. @param[in] type The type of a source
example/cacheHierarchy/fkYAML/node.hpp:1759
↓ 51 callersFunctionLRU_init
end user facing functions init, free, get * @brief initialize a LRU cache * * @param ccache_params some common cache parameters * @param cache_sp
libCacheSim/cache/eviction/LRU.c:49
↓ 47 callersFunctionXXH_readLE64
libCacheSim/dataStructure/hash/xxhash.h:1723
↓ 47 callersFunction_n_cores
test/common.h:48
↓ 45 callersFunctionsimulate_at_multi_sizes_with_step_size
libCacheSim/profiler/simulator.c:141
↓ 43 callersFunctioncache_remove_obj_base
* @brief this function is called by all eviction algorithms that * need to remove an object from the cache, it updates the cache metadata, * because
libCacheSim/cache/cache.c:322
↓ 43 callersFunctioncopy_cache_obj_to_request
* copy the cache_obj to req_dest * @param req_dest * @param cache_obj */
libCacheSim/cache/cacheObj.c:15
↓ 43 callersFunctionget_num_of_req
libCacheSim/traceReader/reader.c:514
↓ 43 callersMethodreserve
reserves space for the specified number of elements. Makes sure the old data fits. Exactly the same as rehash(c). Use rehash(0) to shrink to fit.
libCacheSim/dataStructure/robin_hood.h:2065
↓ 42 callersMethodchunksize
libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:702
↓ 40 callersFunctioncreate_test_cache
test/common.h:206
↓ 39 callersMethodget_lines_processed
@brief Get the number of lines already processed. @return uint32_t The number of lines already processed.
example/cacheHierarchy/fkYAML/node.hpp:3507
↓ 39 callersFunctionprepend_obj_to_head
* prepend the object to the head of the doubly linked list * the object is not in the list, otherwise, use move_obj_to_head * @param head * @param
libCacheSim/cache/cacheObj.c:182
↓ 37 callersFunctionFIFO_init
* @brief initialize a ARC cache * * @param ccache_params some common cache parameters * @param cache_specific_params ARC specific parameters, shoul
libCacheSim/cache/eviction/FIFO.c:49
↓ 36 callersFunctionnoexcept
example/cacheHierarchy/fkYAML/node.hpp:12576
↓ 35 callersFunctioncache_evict_base
* @brief this function is called by all eviction algorithms in the eviction * function, it updates the cache metadata. Because it frees the object st
libCacheSim/cache/cache.c:293
↓ 35 callersFunctioncache_insert_base
* @brief this function is called by all caches to * insert an object into the cache, update the hash table and cache metadata * this function assume
libCacheSim/cache/cache.c:264
↓ 34 callersMethodget_last_token_begin_pos
@brief Get the beginning position of a last token. @return uint32_t The beginning position of a last token.
example/cacheHierarchy/fkYAML/node.hpp:3501
↓ 31 callersFunctionchunk2mem
conversion from malloc headers to user pointers, and back
libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:776
↓ 31 callersMethodchunk_plus_offset
Treat space at ptr +/- offset as a chunk
libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:709
↓ 31 callersFunctionlog
(color, message)
libCacheSim-node/test.js:18
↓ 30 callersFunctioncache_find_base
* @brief this function is called by eviction algorithms that use * the hash table to find whether an object is in the cache * * @param cache * @pa
libCacheSim/cache/cache.c:174
↓ 30 callersFunctionend
@brief Get the iterator to the past-the-end element. (Always constant) @return The iterator to the past-the-end element.
example/cacheHierarchy/fkYAML/node.hpp:2311
↓ 26 callersFunction_verify_profiler_results
test/test_evictionAlgo.c:10
↓ 26 callersFunctionprint_results
test/test_evictionAlgo.c:24
↓ 25 callersFunctionapply_directive_set
@brief Set YAML directive properties to the given node. @param node A basic_node_type object to be set YAML directive properties.
example/cacheHierarchy/fkYAML/node.hpp:8372
↓ 25 callersMethodclear
Clears all data, without resizing.
libCacheSim/dataStructure/robin_hood.h:1682
↓ 25 callersFunctionnext_rand
* generate pseudo rand number, taken from LHD simulator * random number generator from Knuth MMIX * @return */
libCacheSim/utils/include/mymath.h:28
↓ 24 callersFunctionclose_reader
libCacheSim/traceReader/reader.c:549
↓ 24 callersMethoderase
libCacheSim/cache/eviction/3LCache/ThreeLCache.h:148
↓ 24 callersMethodinsert
This is the normal insert routine, used by the outside world
libCacheSim/dataStructure/sparsepp/spp.h:3224
↓ 24 callersFunctionto_string
example/cacheHierarchy/fkYAML/node.hpp:1081
↓ 24 callersFunctionunreachable
@brief A wrapper function to call std::unreachable() (since C++23) or similar compiler specific extensions. @note This function is implemented only fo
example/cacheHierarchy/fkYAML/node.hpp:569
↓ 23 callersFunctionexception
@brief Construct a new exception object with an error message. @param[in] msg An error message. @sa https://fktn-k.github.io/fkYAML/api/exception/cons
example/cacheHierarchy/fkYAML/node.hpp:1653
↓ 23 callersFunctionsetup_reader
libCacheSim/traceReader/reader.c:42
↓ 22 callersMethodend
libCacheSim/dataStructure/sparsepp/spp.h:1848
↓ 22 callersFunctionis_true
libCacheSim/bin/cli_reader_utils.c:60
↓ 21 callersFunctionClock_init
* @brief initialize a Clock cache * * @param ccache_params some common cache parameters * @param cache_specific_params Clock specific parameters as
libCacheSim/cache/eviction/Clock.c:52
↓ 20 callersFunctionnode_value
@brief Constructs a new basic_node Value object for null types.
example/cacheHierarchy/fkYAML/node.hpp:12823
↓ 19 callersFunctionXXH_readLE32
libCacheSim/dataStructure/hash/xxhash.h:1174
↓ 19 callersFunctionatof
example/cacheHierarchy/fkYAML/node.hpp:5298
↓ 19 callersFunctionbegin
@brief Get the iterator to the first element. (Always constant) @return The iterator to the first element.
example/cacheHierarchy/fkYAML/node.hpp:2305
↓ 19 callersMethodcount
Returns 1 if key is found, 0 otherwise.
libCacheSim/dataStructure/robin_hood.h:1879
↓ 18 callersMethodbegin
Iterator functions ------------------
libCacheSim/dataStructure/sparsepp/spp.h:1845
↓ 18 callersMethodresize
OK, we'll let you resize one of these puppies
libCacheSim/dataStructure/sparsepp/spp.h:2077
↓ 17 callersFunctionswap
libCacheSim/dataStructure/sparsepp/spp.h:4336
↓ 16 callersMethoderase
libCacheSim/dataStructure/robin_hood.h:2011
↓ 15 callersFunctionXXH64_avalanche
libCacheSim/dataStructure/hash/xxhash.h:1798
↓ 15 callersFunctioncache_can_insert_default
* @brief whether the request can be inserted into cache * * @param cache * @param req * @return true * @return false */
libCacheSim/cache/cache.c:143
↓ 15 callersMethodok_magic
Check if (alleged) mstate m has expected magic field
libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:1222
↓ 15 callersMethodtest
We let you see if a bucket is non-empty without retrieving it -------------------------------------------------------------
libCacheSim/dataStructure/sparsepp/spp.h:1459
↓ 15 callersFunctionvalidate
@brief Checks if `byte` is a valid 1-byte UTF-8 character. @param[in] byte The byte value. @return true if `byte` is a valid 1-byte UTF-8 character, f
example/cacheHierarchy/fkYAML/node.hpp:1867
↓ 14 callersFunctionXXH3_avalanche
* This is a fast avalanche stage, * suitable when input bits are already partially mixed */
libCacheSim/dataStructure/hash/xxh3.h:667
↓ 14 callersFunction_wyr8
libCacheSim/dataStructure/hash/wyhash.h:69
↓ 14 callersFunctionapply_node_properties
@brief Set YAML node properties (anchor and/or tag names) to the given node. @param node A node type object to be set YAML node properties.
example/cacheHierarchy/fkYAML/node.hpp:8378
↓ 14 callersMethoddump
libCacheSim/traceAnalyzer/ttl.cpp:33
↓ 14 callersMethoderase
This takes the specified elements out of the group. This is "undefining", rather than "clearing". TODO(austern): Make this exception safe: handle exc
libCacheSim/dataStructure/sparsepp/spp.h:1581
↓ 14 callersFunctionfind
@brief Finds the beginning position of `sv` characters in this referenced character sequence. @param sv The character sequence to compare with. @param
example/cacheHierarchy/fkYAML/node.hpp:2604
↓ 14 callersFunctionmapping
example/cacheHierarchy/fkYAML/node.hpp:12193
↓ 14 callersFunctionmem2chunk
libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:777
↓ 14 callersMethodnum_nonempty
We also may want to know how many *used* buckets there are
libCacheSim/dataStructure/sparsepp/spp.h:1287
↓ 14 callersFunctionreset_reader
libCacheSim/traceReader/reader.c:486
↓ 14 callersMethodswap
libCacheSim/dataStructure/robin_hood.h:648
↓ 13 callersFunctionXXH3_mix16B
* DISCLAIMER: There are known *seed-dependent* multicollisions here due to * multiplication by zero, affecting hashes of lengths 17 to 240. * * How
libCacheSim/dataStructure/hash/xxh3.h:826
↓ 13 callersFunctionXXH64_round
libCacheSim/dataStructure/hash/xxhash.h:1784
↓ 13 callersMethodget_next_token
@brief Get the next lexical token by scanning the left of the input buffer. @return lexical_token The next lexical token.
example/cacheHierarchy/fkYAML/node.hpp:3305
↓ 13 callersFunctionhash_combine
libCacheSim/cache/eviction/LRB/utils.h:16
↓ 13 callersFunctionreplace_char
replace all matching char in a string */
libCacheSim/utils/mystr.c:50
↓ 13 callersFunctiontop_foot_size
top_foot_size is padding at the end of a segment, including space that may be needed to place segment records and fenceposts when new noncontiguou
libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:1578
↓ 12 callersFunctionXXH32_round
libCacheSim/dataStructure/hash/xxhash.h:1233
↓ 12 callersMethodadd_req
libCacheSim/traceAnalyzer/ttl.cpp:16
↓ 12 callersFunctionbasic_str_view
Constructs a basic_str_view object.
example/cacheHierarchy/fkYAML/node.hpp:2218
↓ 12 callersMethodemplace_back
libCacheSim/cache/eviction/3LCache/ThreeLCache.h:175
↓ 12 callersFunctionextract_dataname
extract the data name from the datapath Args: datapath: path to the data file Return: dataname: the name of the data
scripts/utils/trace_utils.py:2
↓ 12 callersFunctionmove_obj_to_head
* move an object to the head of the doubly linked list * @param head * @param tail * @param cache_obj */
libCacheSim/cache/cacheObj.c:130
↓ 12 callersFunctionopen_trace
this is the same function as setup_reader */
libCacheSim/include/libCacheSim/reader.h:196
↓ 12 callersFunctionread_bytes
libCacheSim/traceReader/customizedReader/binaryUtils.h:42
next →1–100 of 3,238, ranked by callers