Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/1a1a11a/libCacheSim
/ functions
Functions
3,238 in github.com/1a1a11a/libCacheSim
⨍
Functions
3,238
◇
Types & classes
607
↓ 6 callers
Function
track_shm_id
example/cacheCluster/libketama/ketama.c:120
↓ 6 callers
Function
train
libCacheSim/cache/eviction/GLCache/train.c:110
↓ 5 callers
Function
LIRS_init
end user facing functions init, free, get * @brief initialize the cache * * @param ccache_params some common cache parameters * @param cache_spec
libCacheSim/cache/eviction/LIRS.c:80
↓ 5 callers
Function
XXH32_avalanche
mix all bits */
libCacheSim/dataStructure/hash/xxhash.h:1290
↓ 5 callers
Function
_verify_profiler_results
test/test_glcache.c:10
↓ 5 callers
Function
align_offset
the number of bytes to offset an address to align it
libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:283
↓ 5 callers
Function
cal_working_set_size
libCacheSim/bin/cli_reader_utils.c:241
↓ 5 callers
Method
cbegin
libCacheSim/dataStructure/sparsepp/spp.h:1847
↓ 5 callers
Method
cend
libCacheSim/dataStructure/robin_hood.h:2006
↓ 5 callers
Function
conv_to_cdf
convert a list of data or a dict of data (count) to cdf Args: data_list (List[Union[int, float]]): a list of int or float values
scripts/utils/data_utils.py:6
↓ 5 callers
Function
copy
@brief Copys the referenced character sequence values from `pos` by `n` size. @warning Throws an fkyaml::out_of_range exception if the given `pos` is
example/cacheHierarchy/fkYAML/node.hpp:2438
↓ 5 callers
Function
create_prefetcher
libCacheSim/include/libCacheSim/prefetchAlgo.h:39
↓ 5 callers
Function
create_reader
* @brief Create a reader from the parameters * * @param trace_type_str * @param trace_path * @param trace_type_params * @param n_req * @param ig
libCacheSim/bin/cli_reader_utils.c:308
↓ 5 callers
Function
deserialize
example/cacheHierarchy/fkYAML/node.hpp:13100
↓ 5 callers
Function
directory_exists
test/test_utils.c:8
↓ 5 callers
Method
ensure_initialization
libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:1011
↓ 5 callers
Function
evictHIR
libCacheSim/cache/eviction/LIRS.c:659
↓ 5 callers
Function
from_utf32
@brief Converts a UTF-32 encoded character to UTF-8 encoded bytes. @param[in] utf32 A UTF-32 encoded character. @param[out] utf8 UTF-8 encoded bytes.
example/cacheHierarchy/fkYAML/node.hpp:2048
↓ 5 callers
Method
getSecond
libCacheSim/dataStructure/robin_hood.h:1019
↓ 5 callers
Method
get_allocator
libCacheSim/dataStructure/sparsepp/spp.h:2060
↓ 5 callers
Function
get_anchor_offset
@brief Get an anchor offset used to reference an anchor node from the given attribute bits. @param attrs node attribute bits @return An anchor offset
example/cacheHierarchy/fkYAML/node.hpp:7039
↓ 5 callers
Function
get_num_bytes
@brief Query the number of UTF-8 character bytes with the first byte. @param first_byte The first byte of a UTF-8 character. @return The number of UTF
example/cacheHierarchy/fkYAML/node.hpp:1842
↓ 5 callers
Function
is_digit
@brief Check if the given character is a digit. @note This function is needed to avoid assertion failures in `std::isdigit()` especially when compiled
example/cacheHierarchy/fkYAML/node.hpp:6034
↓ 5 callers
Function
is_seg_evictable
check whether there are min_evictable segments to evict consecutive indicates the merge eviction uses consecutive segments in the chain if not, it use
libCacheSim/cache/eviction/GLCache/segSel.c:28
↓ 5 callers
Method
min_buckets
This is the smallest size a hashtable can be without being too crowded If you like, you can give a min #buckets as well as a min #elts ---------------
libCacheSim/dataStructure/sparsepp/spp.h:443
↓ 5 callers
Function
mspace_malloc
---------------------------- mspace versions of malloc/calloc/free routines -------------------- */
libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:3724
↓ 5 callers
Method
ne_end
libCacheSim/dataStructure/sparsepp/spp.h:1057
↓ 5 callers
Method
parse_params
libCacheSim/mrcProfiler/mrcProfiler.h:49
↓ 5 callers
Function
print_results
test/test_glcache.c:26
↓ 5 callers
Function
print_time
libCacheSim/traceAnalyzer/utils/include/utilsPrint.h:13
↓ 5 callers
Function
reader_set_read_pos
* jump to given position in the trace, such as 0.2, 0.5, 1.0, etc. * because certain functions require reader to be read sequentially, * this functi
libCacheSim/traceReader/reader.c:607
↓ 5 callers
Function
reverse_iterator
@brief Copy constructs a reverse_iterator object.
example/cacheHierarchy/fkYAML/node.hpp:11182
↓ 5 callers
Function
skip_n_req
* skip the next following N elements in the trace, * @param reader * @param N * @return the number of elements that are actually skipped */
libCacheSim/traceReader/reader.c:456
↓ 5 callers
Function
spp_mix_32
from http://burtleburtle.net/bob/hash/integer.html fast and efficient for power of two table sizes where we always consider the last bits. -----------
libCacheSim/dataStructure/sparsepp/spp_utils.h:178
↓ 5 callers
Function
sqr
libCacheSim/traceAnalyzer/utils/include/linReg.h:7
↓ 5 callers
Function
substr
@brief Constructs a sub basic_str_view object from `pos` by `n` size. @warning Throws an fkyaml::out_of_range exception if the given `pos` is bigger t
example/cacheHierarchy/fkYAML/node.hpp:2452
↓ 5 callers
Method
value
@brief Get reference to the YAML node of the current iterator. @return Reference to the YAML node of the current iterator.
example/cacheHierarchy/fkYAML/node.hpp:10276
↓ 4 callers
Function
SLRU_init
end user facing functions * @brief initialize a LRU cache * * @param ccache_params some common cache parameters * @param cache_specific_params LR
libCacheSim/cache/eviction/SLRU.c:103
↓ 4 callers
Function
TwoQ_init
libCacheSim/cache/eviction/TwoQ.c:67
↓ 4 callers
Function
WTinyLFU_init
* @brief initialize cache * * @param ccache_params some common cache parameters * @param cache_specific_params cache specific parameters, see parse
libCacheSim/cache/eviction/WTinyLFU.c:80
↓ 4 callers
Function
XXH3_64bits_reset_internal
libCacheSim/dataStructure/hash/xxh3.h:1968
↓ 4 callers
Function
XXH_mult64to128
* Calculates a 64->128-bit long multiply. * * Uses __uint128_t and _umul128 if available, otherwise uses a scalar version. */
libCacheSim/dataStructure/hash/xxh3.h:538
↓ 4 callers
Function
XXH_read32
* Force direct memory access. Only works on CPU which support unaligned memory * access in hardware. */
libCacheSim/dataStructure/hash/xxhash.h:1046
↓ 4 callers
Function
XXH_read64
Force direct memory access. Only works on CPU which support unaligned memory * access in hardware */
libCacheSim/dataStructure/hash/xxhash.h:1663
↓ 4 callers
Function
_ARC_sanity_check_full
libCacheSim/cache/eviction/ARC.c:715
↓ 4 callers
Function
_verify_profiler_results
test/test_admissionAlgo.c:6
↓ 4 callers
Function
_wyrot
mum function
libCacheSim/dataStructure/hash/wyhash.h:24
↓ 4 callers
Method
bucket_count
libCacheSim/dataStructure/sparsepp/spp.h:2638
↓ 4 callers
Method
calcNumElementsWithBuffer
libCacheSim/dataStructure/robin_hood.h:2138
↓ 4 callers
Function
ch_ring_get_vnode_idx
example/cacheCluster/consistentHash.c:92
↓ 4 callers
Function
copy_request
* copy the req_src to req_dest * @param req_dest * @param req_src */
libCacheSim/include/libCacheSim/request.h:96
↓ 4 callers
Function
create_cache_obj_from_request
* create a cache_obj from request * @param req * @return */
libCacheSim/cache/cacheObj.c:44
↓ 4 callers
Function
create_spatial_sampler
libCacheSim/traceReader/sampling/spatial.c:41
↓ 4 callers
Function
deserialize_node_properties
@brief Deserializes YAML node properties (anchor and/or tag names) if they exist @param lexer The lexical analyzer to be used. @param last_type The va
example/cacheHierarchy/fkYAML/node.hpp:8089
↓ 4 callers
Method
emplace
libCacheSim/dataStructure/sparsepp/spp.h:3215
↓ 4 callers
Function
evictLIR
libCacheSim/cache/eviction/LIRS.c:625
↓ 4 callers
Method
free
libCacheSim/cache/eviction/LRB/lrb.h:102
↓ 4 callers
Function
from_utf16
@brief Converts UTF-16 encoded characters to UTF-8 encoded bytes. @param[in] utf16 UTF-16 encoded character(s). @param[out] utf8 UTF-8 encoded bytes.
example/cacheHierarchy/fkYAML/node.hpp:2001
↓ 4 callers
Function
get_min_freq_node
libCacheSim/cache/eviction/LeCaR.c:662
↓ 4 callers
Function
get_mstate_for
libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:1549
↓ 4 callers
Function
get_stack_dist
* sequential version of get_stack_dist * @param reader * @return */
libCacheSim/profiler/dist.c:111
↓ 4 callers
Function
get_stack_dist_add_req
* this function is used for computing stack distance for each request * it maintains a hashmap and a splay tree, * time complexity is O(log(N)), N i
libCacheSim/profiler/dist.c:72
↓ 4 callers
Function
gettime
libCacheSim/utils/mysys.c:93
↓ 4 callers
Function
gettime_usec
libCacheSim/cache/eviction/GLCache/utils.h:70
↓ 4 callers
Method
granularity_align
libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:1024
↓ 4 callers
Function
has_anchor_name
@brief Check whether this basic_node object has already had any anchor name. @return true if ths basic_node has an anchor name, false otherwise. @sa h
example/cacheHierarchy/fkYAML/node.hpp:13845
↓ 4 callers
Function
hash_int
libCacheSim/dataStructure/robin_hood.h:748
↓ 4 callers
Function
init_shm_data_tracker
example/cacheCluster/libketama/ketama.c:79
↓ 4 callers
Function
init_shm_id_tracker
example/cacheCluster/libketama/ketama.c:74
↓ 4 callers
Method
is_extern_segment
libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:986
↓ 4 callers
Function
ketama_sem_unlock
\brief Unlocks the semaphore. * \param sem_set_id The semaphore handle that you want to unlock. */
libCacheSim/dataStructure/ketama/ketama.c:149
↓ 4 callers
Method
max_size
libCacheSim/dataStructure/sparsepp/spp.h:1282
↓ 4 callers
Function
md5_append
example/cacheCluster/md5.c:322
↓ 4 callers
Function
mspace_free
libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:3735
↓ 4 callers
Function
n_cores
libCacheSim/utils/mysys.c:91
↓ 4 callers
Function
plot_mrc_size
plot the miss ratio from the computation X-axis is cache size, different lines are different algos Args: mrc_dict: a dict of mrc,
scripts/plot_mrc_size.py:113
↓ 4 callers
Function
pqueue_free
libCacheSim/dataStructure/pqueue.c:83
↓ 4 callers
Function
pqueue_insert
libCacheSim/dataStructure/pqueue.c:155
↓ 4 callers
Function
print_results
test/test_admissionAlgo.c:20
↓ 4 callers
Function
read_data
libCacheSim/dataStructure/sparsepp/spp.h:248
↓ 4 callers
Method
read_metadata
libCacheSim/dataStructure/sparsepp/spp.h:1615
↓ 4 callers
Method
reallocate
libCacheSim/dataStructure/sparsepp/spp_utils.h:423
↓ 4 callers
Function
remove_obj_from_freq_node
libCacheSim/cache/eviction/LeCaR.c:678
↓ 4 callers
Function
scan_after_decimal_point
@brief Detects a scalar value type by scanning the contents right after a decimal point. @param itr The iterator to the past-the-decimal-point element
example/cacheHierarchy/fkYAML/node.hpp:5944
↓ 4 callers
Function
segment_holds
True if segment S holds address A
libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:1568
↓ 4 callers
Function
serialize
@brief Serialize the given Node value. @param node A Node object to be serialized. @return std::string A serialization result of the given Node value.
example/cacheHierarchy/fkYAML/node.hpp:10782
↓ 4 callers
Method
serialize
libCacheSim/dataStructure/sparsepp/spp.h:2421
↓ 4 callers
Method
set
libCacheSim/dataStructure/sparsepp/spp.h:1448
↓ 4 callers
Method
set_consider_shrink
libCacheSim/dataStructure/sparsepp/spp.h:413
↓ 4 callers
Function
set_default_reader_init_params
libCacheSim/include/libCacheSim/reader.h:150
↓ 4 callers
Function
setup_binary_reader
test/common.h:138
↓ 4 callers
Function
setup_csv_reader_obj_num
test/common.h:168
↓ 4 callers
Function
setup_csv_reader_obj_str
test/common.h:152
↓ 4 callers
Function
setup_oracleGeneralBin_reader
test/common.h:77
↓ 4 callers
Function
setup_plaintxt_reader_num
test/common.h:183
↓ 4 callers
Function
setup_plaintxt_reader_str
test/common.h:192
↓ 4 callers
Function
simulate_at_multi_sizes
* @brief get miss ratio curve for different cache sizes * * @param reader * @param cache * @param num_of_sizes * @param cache_sizes * @param war
libCacheSim/profiler/simulator.c:172
↓ 4 callers
Function
simulate_with_multi_caches
* @brief run multiple simulations in parallel * * @param reader * @param caches * @param num_of_caches * @param warmup_reader * @param warmup_fr
libCacheSim/profiler/simulator.c:244
↓ 4 callers
Function
spp_popcount
libCacheSim/dataStructure/sparsepp/spp.h:967
↓ 4 callers
Function
try_append_anchor
@brief Append an anchor property if it's available. Do nothing otherwise. @param node The target node which is possibly an anchor node. @param prepend
example/cacheHierarchy/fkYAML/node.hpp:11068
← previous
next →
201–300 of 3,238, ranked by callers