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
↓ 2 callers
Function
read_bigendian_number
libCacheSim/dataStructure/sparsepp/spp.h:266
↓ 2 callers
Function
read_first_line
* @brief read the first line of the trace without changing the state of the * reader * * @param reader * @param in_buf * @param in_buf_size * @r
libCacheSim/traceReader/generalReader/csv.c:51
↓ 2 callers
Method
reinit
libCacheSim/cache/eviction/3LCache/request.h:27
↓ 2 callers
Method
reinit
libCacheSim/cache/eviction/LRB/request.h:27
↓ 2 callers
Method
remove_obj
libCacheSim/cache/eviction/cpp/abstractRank.hpp:77
↓ 2 callers
Method
request
the hashtable (location information is maintained outside, and assume it is always correct)
libCacheSim/cache/eviction/LRB/lrb.h:158
↓ 2 callers
Function
reset_zstd_reader
libCacheSim/traceReader/generalReader/zstdReader.c:56
↓ 2 callers
Function
run
a function that runs the cachesim on all the traces in /disk/data
scripts/plot_mrc_size.py:200
↓ 2 callers
Function
run_cachesim_size
run the cachesim on the given trace Args: datapath: the path to the trace algos: the algos to run, separated by comma cach
scripts/plot_mrc_size.py:56
↓ 2 callers
Function
run_cachesim_time
run the cachesim on the given trace to obtain how miss ratio change over time Args: datapath: the path to the trace algo: the algo
scripts/plot_mrc_time.py:25
↓ 2 callers
Method
sample
libCacheSim/cache/eviction/LRB/lrb.cpp:71
↓ 2 callers
Function
save_dist
libCacheSim/profiler/dist.c:195
↓ 2 callers
Function
scan_possible_number_token
@brief Detects a scalar value type from the contents (possibly an integer or a floating-point value). @param itr The iterator to the first element of
example/cacheHierarchy/fkYAML/node.hpp:5838
↓ 2 callers
Function
select_one_seg_to_evict
when cache size is small and space is fragmented between buckets, * it is possible that there is no bucket with n_merge + 1 segments, * in which cas
libCacheSim/cache/eviction/GLCache/segSel.c:188
↓ 2 callers
Function
select_segs_fifo
choose the next segment to evict, use FIFO to choose bucket, * and FIFO within bucket */
libCacheSim/cache/eviction/GLCache/segSel.c:212
↓ 2 callers
Method
set_deleted_key
Deleted key routines - just to keep google test framework happy we don't actually use the deleted key ------------------------------------------------
libCacheSim/dataStructure/sparsepp/spp.h:3368
↓ 2 callers
Method
set_document_state
@brief Toggles the document state between directive and content. @param is_directive true: directive, false: content
example/cacheHierarchy/fkYAML/node.hpp:3546
↓ 2 callers
Method
set_enlarge_factor
libCacheSim/dataStructure/sparsepp/spp.h:2876
↓ 2 callers
Function
set_infinity
@brief Set an infinite `float` value based on the given signedness. @param f The output `float` value holder. @param sign Whether the infinite value s
example/cacheHierarchy/fkYAML/node.hpp:5222
↓ 2 callers
Method
set_lock
libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:1167
↓ 2 callers
Method
set_resizing_parameters
libCacheSim/dataStructure/sparsepp/spp.h:2865
↓ 2 callers
Method
set_shrink_factor
libCacheSim/dataStructure/sparsepp/spp.h:2871
↓ 2 callers
Function
setup_mmap
libCacheSim/bin/traceUtils/utils.cpp:12
↓ 2 callers
Function
should_disable_obj_metadata
libCacheSim/bin/cli_reader_utils.c:223
↓ 2 callers
Function
should_insert
libCacheSim/cache/eviction/belady/FIFO_Belady.c:137
↓ 2 callers
Function
snapshot_segs_to_training_data
@brief sample some segments and copy their features to training data matrix * * @param cache * @param seg */
libCacheSim/cache/eviction/GLCache/dataPrep.c:202
↓ 2 callers
Method
space
libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:166
↓ 2 callers
Function
splay_delete
libCacheSim/dataStructure/splay.c:195
↓ 2 callers
Function
spp_popcount_check
libCacheSim/dataStructure/sparsepp/spp.h:955
↓ 2 callers
Method
swap
libCacheSim/dataStructure/sparsepp/spp_smartptr.h:45
↓ 2 callers
Method
swap
Many STL algorithms use swap instead of copy constructors
libCacheSim/dataStructure/sparsepp/spp.h:2967
↓ 2 callers
Function
test_version
libCacheSim/traceReader/customizedReader/vscsi.h:56
↓ 2 callers
Function
to_vscsi_version
libCacheSim/traceReader/customizedReader/vscsi.h:64
↓ 2 callers
Function
track_sem_id
example/cacheCluster/libketama/ketama.c:102
↓ 2 callers
Function
track_sem_id
libCacheSim/dataStructure/ketama/ketama.c:100
↓ 2 callers
Function
track_shm_data
example/cacheCluster/libketama/ketama.c:84
↓ 2 callers
Function
transform_seg_to_training
libCacheSim/cache/eviction/GLCache/eviction.c:34
↓ 2 callers
Method
try_realloc_chunk
Try to realloc; only in-place unless can_move true
libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:3232
↓ 2 callers
Function
update_LFU_min_freq
LFU related function, LFU uses a chain of freq node sorted by freq in * ascending order, each node stores a list of objects with the same * frequenc
libCacheSim/cache/eviction/LeCaR.c:645
↓ 2 callers
Function
update_monitored_ptr
libCacheSim/dataStructure/hashtable/chainedHashtable.c:35
↓ 2 callers
Function
update_train_y
used when the training y is calculated online, * we calculate segment utility (for training) online in the following way: * after segment is snapsho
libCacheSim/cache/eviction/GLCache/dataPrep.c:243
↓ 2 callers
Function
update_weight
internal functions
libCacheSim/cache/eviction/LeCaRv0.c:326
↓ 2 callers
Function
update_weight
libCacheSim/cache/eviction/LeCaR.c:750
↓ 2 callers
Function
vector_incr
libCacheSim/traceAnalyzer/utils/include/utils.h:27
↓ 1 callers
Function
ARC_current_params
parameter set up functions
libCacheSim/cache/eviction/ARC.c:605
↓ 1 callers
Function
ARC_get_debug
libCacheSim/cache/eviction/ARC.c:775
↓ 1 callers
Function
ARCv0_current_params
parameter set up functions
libCacheSim/cache/eviction/ARCv0.c:522
↓ 1 callers
Function
ARCv0_get_debug
libCacheSim/cache/eviction/ARCv0.c:575
↓ 1 callers
Function
ARCv0_init
* @brief initialize the cache * * @param ccache_params some common cache parameters * @param cache_specific_params cache specific parameters, see p
libCacheSim/cache/eviction/ARCv0.c:92
↓ 1 callers
Function
BeladySize_remove
libCacheSim/cache/eviction/BeladySize.c:250
↓ 1 callers
Function
BeladySize_to_evict
* @brief find the object to be evicted * this function does not actually evict the object or update metadata * not all eviction algorithms support t
libCacheSim/cache/eviction/BeladySize.c:196
↓ 1 callers
Function
Belady_remove_obj
libCacheSim/cache/eviction/Belady.c:245
↓ 1 callers
Function
Cacheus_to_evict
TODO(jason): this function may not work
libCacheSim/cache/eviction/Cacheus.c:248
↓ 1 callers
Function
ClockPro_current_params
parameter set up functions
libCacheSim/cache/eviction/ClockPro.c:477
↓ 1 callers
Function
ClockPro_remove_obj
* @brief remove the given object from the cache * note that eviction should not call this function, but rather call * `cache_evict_base` because we
libCacheSim/cache/eviction/ClockPro.c:259
↓ 1 callers
Function
ClockPro_run_hot
libCacheSim/cache/eviction/ClockPro.c:394
↓ 1 callers
Function
ClockPro_run_test
libCacheSim/cache/eviction/ClockPro.c:316
↓ 1 callers
Function
Clock_remove_obj
* @brief remove the given object from the cache * note that eviction should not call this function, but rather call * `cache_evict_base` because we
libCacheSim/cache/eviction/Clock.c:247
↓ 1 callers
Function
FIFO_Belady_init
end user facing functions init, free, get * @brief initialize a FIFO_Belady cache * * @param ccache_params some common cache parameters * @param
libCacheSim/cache/eviction/belady/FIFO_Belady.c:56
↓ 1 callers
Function
FIFO_Merge_current_params
parameter set up functions
libCacheSim/cache/eviction/FIFO_Merge.c:337
↓ 1 callers
Function
FIFO_Merge_init
* @brief initialize the cache * * @param ccache_params some common cache parameters * @param cache_specific_params cache specific parameters, see p
libCacheSim/cache/eviction/FIFO_Merge.c:90
↓ 1 callers
Function
FIFO_Merge_parse_params
libCacheSim/cache/eviction/FIFO_Merge.c:345
↓ 1 callers
Function
FIFO_Merge_remove_obj
libCacheSim/cache/eviction/FIFO_Merge.c:301
↓ 1 callers
Function
FIFO_Reinsertion_current_params
parameter set up functions
libCacheSim/cache/eviction/FIFO_Reinsertion.c:355
↓ 1 callers
Function
FIFO_Reinsertion_init
* @brief initialize the cache * * @param ccache_params some common cache parameters * @param cache_specific_params cache specific parameters, see p
libCacheSim/cache/eviction/FIFO_Reinsertion.c:96
↓ 1 callers
Function
FIFO_Reinsertion_parse_params
libCacheSim/cache/eviction/FIFO_Reinsertion.c:364
↓ 1 callers
Function
GLCache_merge_segs
merge multiple segments into one segment **/
libCacheSim/cache/eviction/GLCache/eviction.c:59
↓ 1 callers
Function
GLCache_parse_init_params
libCacheSim/cache/eviction/GLCache/GLCache.c:59
↓ 1 callers
Function
Hyperbolic_parse_params
libCacheSim/cache/eviction/Hyperbolic.c:254
↓ 1 callers
Function
Hyperbolic_remove_obj
libCacheSim/cache/eviction/Hyperbolic.c:215
↓ 1 callers
Function
Hyperbolic_to_evict
* @brief find the object to be evicted * this function does not actually evict the object or update metadata * not all eviction algorithms support t
libCacheSim/cache/eviction/Hyperbolic.c:167
↓ 1 callers
Function
LFUCpp_init
* @brief initialize the cache * * @param ccache_params some common cache parameters * @param cache_specific_params cache specific parameters, see p
libCacheSim/cache/eviction/cpp/LFU.cpp:53
↓ 1 callers
Function
LFUDA_remove_obj
libCacheSim/cache/eviction/LFUDA.c:282
↓ 1 callers
Function
LFU_remove_obj
libCacheSim/cache/eviction/LFU.c:294
↓ 1 callers
Function
LIRS_print_cache_compared_to_cacheus
libCacheSim/cache/eviction/LIRS.c:740
↓ 1 callers
Function
LP_ARC_current_params
parameter set up functions
libCacheSim/cache/eviction/fifo/LP_ARC.c:479
↓ 1 callers
Function
LP_ARC_get_debug
libCacheSim/cache/eviction/fifo/LP_ARC.c:533
↓ 1 callers
Function
LP_ARC_init
* @brief initialize the cache * * @param ccache_params some common cache parameters * @param cache_specific_params cache specific parameters, see p
libCacheSim/cache/eviction/fifo/LP_ARC.c:83
↓ 1 callers
Function
LP_SFIFO_current_params
setup functions
libCacheSim/cache/eviction/fifo/LP_SFIFO.c:345
↓ 1 callers
Function
LP_SFIFO_demote
libCacheSim/cache/eviction/fifo/LP_SFIFO.c:286
↓ 1 callers
Function
LP_SFIFO_init
end user facing functions * @brief initialize a LP_SFIFO cache * * @param ccache_params some common cache parameters * @param cache_specific_para
libCacheSim/cache/eviction/fifo/LP_SFIFO.c:61
↓ 1 callers
Function
LP_TwoQ_current_params
parameter set up functions
libCacheSim/cache/eviction/fifo/LP_TwoQ.c:336
↓ 1 callers
Function
LP_TwoQ_init
end user facing functions * @brief initialize cache * * @param ccache_params some common cache parameters * @param cache_specific_params cache sp
libCacheSim/cache/eviction/fifo/LP_TwoQ.c:73
↓ 1 callers
Function
LRB_current_params
parameter set up functions
libCacheSim/cache/eviction/LRB/LRB_Interface.cpp:308
↓ 1 callers
Function
LRB_init
* @brief initialize the cache * * @param ccache_params some common cache parameters * @param cache_specific_params cache specific parameters, see p
libCacheSim/cache/eviction/LRB/LRB_Interface.cpp:64
↓ 1 callers
Function
LRU_Belady_init
end user facing functions init, free, get * @brief initialize a LRU_Belady cache * * @param ccache_params some common cache parameters * @param c
libCacheSim/cache/eviction/belady/LRU_Belady.c:57
↓ 1 callers
Function
LRU_Prob_current_params
parameter set up functions
libCacheSim/cache/eviction/LRUProb.c:245
↓ 1 callers
Function
LRU_Prob_init
* @brief initialize the cache * * @param ccache_params some common cache parameters * @param cache_specific_params cache specific parameters, see p
libCacheSim/cache/eviction/LRUProb.c:58
↓ 1 callers
Function
LRU_Prob_parse_params
libCacheSim/cache/eviction/LRUProb.c:251
↓ 1 callers
Function
LRU_Prob_remove_obj
libCacheSim/cache/eviction/LRUProb.c:208
↓ 1 callers
Function
LRUv0_evict
* @brief evict an object from the cache * it needs to call cache_evict_base before returning * which updates some metadata such as n_obj, occupied s
libCacheSim/cache/eviction/LRUv0.c:229
↓ 1 callers
Function
LRUv0_find
* @brief find an object in the cache * * @param cache * @param req * @param update_cache whether to update the cache, * if true, the object is p
libCacheSim/cache/eviction/LRUv0.c:146
↓ 1 callers
Function
LRUv0_init
* @brief initialize the cache * * @param ccache_params some common cache parameters * @param cache_specific_params cache specific parameters, see p
libCacheSim/cache/eviction/LRUv0.c:59
↓ 1 callers
Function
LRUv0_insert
* @brief insert an object into the cache, * update the hash table and cache metadata * this function assumes the cache has enough space * eviction
libCacheSim/cache/eviction/LRUv0.c:181
↓ 1 callers
Function
LRUv0_to_evict
* @brief find the object to be evicted * this function does not actually evict the object or update metadata * not all eviction algorithms support t
libCacheSim/cache/eviction/LRUv0.c:215
↓ 1 callers
Function
LeCaR_current_params
parameter set up functions
libCacheSim/cache/eviction/LeCaR.c:585
↓ 1 callers
Function
LeCaRv0_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/LeCaRv0.c:80
↓ 1 callers
Function
MClock_current_params
parameter set up functions
libCacheSim/cache/eviction/priv/MClock.c:409
↓ 1 callers
Function
MClock_init
* @brief initialize the cache * * @param ccache_params some common cache parameters * @param cache_specific_params cache specific parameters, see p
libCacheSim/cache/eviction/priv/MClock.c:74
↓ 1 callers
Function
MRU_init
* @brief initialize the cache * * @param ccache_params some common cache parameters * @param cache_specific_params cache specific parameters, see p
libCacheSim/cache/eviction/MRU.c:52
← previous
next →
601–700 of 3,238, ranked by callers