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
↓ 12 callers
Method
reset_thresholds
Reset the enlarge and shrink thresholds
libCacheSim/dataStructure/sparsepp/spp.h:419
↓ 12 callers
Function
set_rand_seed
libCacheSim/utils/mymath.c:15
↓ 11 callers
Function
FK_YAML_UNLIKELY
example/cacheHierarchy/fkYAML/node.hpp:7386
↓ 11 callers
Function
_wymix
libCacheSim/dataStructure/hash/wyhash.h:59
↓ 11 callers
Function
destroy
@brief Destroys the existing Node value. This process is recursive if the specified node type is for containers. @param[in] type A Node type to determ
example/cacheHierarchy/fkYAML/node.hpp:12859
↓ 11 callers
Method
emplace
libCacheSim/dataStructure/robin_hood.h:1796
↓ 11 callers
Function
free_cache_obj
libCacheSim/utils/dep/mem.c:128
↓ 11 callers
Method
is_inuse
libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:699
↓ 11 callers
Method
is_mmapped
libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:700
↓ 11 callers
Method
run
libCacheSim/traceAnalyzer/analyzer.cpp:88
↓ 10 callers
Method
clear
libCacheSim/cache/eviction/LRB/lrb.h:258
↓ 10 callers
Function
close_trace
libCacheSim/include/libCacheSim/reader.h:251
↓ 10 callers
Function
insert
libCacheSim/dataStructure/splay.c:158
↓ 10 callers
Method
operator[]
libCacheSim/dataStructure/robin_hood.h:1729
↓ 10 callers
Function
record_eviction_age
libCacheSim/include/libCacheSim/cache.h:328
↓ 10 callers
Method
run
libCacheSim/bin/dep/oracleTraceGen/oracleReuseTraceGen.h:345
↓ 10 callers
Function
s_spp_popcount_default
libCacheSim/dataStructure/sparsepp/spp_utils.h:337
↓ 10 callers
Function
sequence
example/cacheHierarchy/fkYAML/node.hpp:12171
↓ 10 callers
Method
set_size_and_pinuse_of_free_chunk
libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:684
↓ 10 callers
Function
setup_vscsi_reader
test/common.h:131
↓ 10 callers
Function
size
@brief Get the size of the referenced character sequence. @return The size of the referenced character sequence.
example/cacheHierarchy/fkYAML/node.hpp:2353
↓ 10 callers
Function
test
(description, testFn)
libCacheSim-node/test.js:36
↓ 10 callers
Function
throw_exception
libCacheSim/dataStructure/sparsepp/spp.h:93
↓ 10 callers
Function
verify_req
test/test_traceReader.c:26
↓ 9 callers
Function
XXH_memcpy
libCacheSim/dataStructure/hash/xxhash.h:948
↓ 9 callers
Function
XXH_swap64
libCacheSim/dataStructure/hash/xxhash.h:1708
↓ 9 callers
Function
from_node
example/cacheHierarchy/fkYAML/node.hpp:11560
↓ 9 callers
Function
mean
libCacheSim/traceAnalyzer/utils/include/utilsMath.h:30
↓ 9 callers
Method
ne_begin
We'll have versions for our special non-empty iterator too ----------------------------------------------------------
libCacheSim/dataStructure/sparsepp/spp.h:1054
↓ 9 callers
Method
pinuse
libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:697
↓ 9 callers
Function
pop_to_parent_node
example/cacheHierarchy/fkYAML/node.hpp:8350
↓ 9 callers
Function
splay
libCacheSim/dataStructure/splay.c:61
↓ 9 callers
Function
to_node
example/cacheHierarchy/fkYAML/node.hpp:12253
↓ 8 callers
Function
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/ARC.c:99
↓ 8 callers
Function
LHD_init
* @brief initialize the cache * * @param ccache_params some common cache parameters * @param cache_specific_params cache specific parameters, see p
libCacheSim/cache/eviction/LHD/LHD_Interface.cpp:56
↓ 8 callers
Function
XXH64_mergeRound
libCacheSim/dataStructure/hash/xxhash.h:1791
↓ 8 callers
Function
_detect_data_path
test/common.h:61
↓ 8 callers
Method
cbegin
libCacheSim/dataStructure/robin_hood.h:1988
↓ 8 callers
Function
cend
@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:2323
↓ 8 callers
Function
convert_to_lcs
* @brief Convert a trace to lcs format * * @param reader * @param ofilepath * @param sample_ratio * @param output_txt * @param remove_size_chang
libCacheSim/bin/traceUtils/traceConvLCS.cpp:46
↓ 8 callers
Method
equal_range
Likewise, equal_range doesn't really make sense for us. Oh well. -----------------------------------------------------------------
libCacheSim/dataStructure/sparsepp/spp.h:3130
↓ 8 callers
Method
find
I hate to duplicate find() like that, but it is significantly faster to not have the intermediate pair -----------------------------------------------
libCacheSim/dataStructure/sparsepp/spp.h:3057
↓ 8 callers
Method
get
example/cacheCluster/cacheCluster.cpp:16
↓ 8 callers
Function
go_back_one_req
* @brief from current line/request, go back one, the next read will * get the current request * * @param reader * @return int */
libCacheSim/traceReader/reader.c:349
↓ 8 callers
Function
pad_request
pad request bytes into a usable size
libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:787
↓ 8 callers
Function
pqueue_pop
libCacheSim/dataStructure/pqueue.c:213
↓ 8 callers
Function
request2size
pad request, checking for minimum (but not maximum)
libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:793
↓ 8 callers
Function
setDispatch
libCacheSim/dataStructure/hash/xxh_x86dispatch.c:624
↓ 8 callers
Function
set_error
example/cacheCluster/libketama/ketama.c:61
↓ 8 callers
Method
size
Functions that tell you about size. Alas, these aren't so useful because our table is always fixed size.
libCacheSim/dataStructure/sparsepp/spp.h:1281
↓ 8 callers
Method
swap
Many STL algorithms use swap instead of copy constructors
libCacheSim/dataStructure/sparsepp/spp.h:1255
↓ 8 callers
Method
update
libCacheSim/cache/eviction/LHD/lhd.cpp:83
↓ 7 callers
Function
Hyperbolic_init
end user facing functions * @brief initialize a cache * * @param ccache_params some common cache parameters * @param cache_specific_params cache
libCacheSim/cache/eviction/Hyperbolic.c:43
↓ 7 callers
Function
LFU_init
end user facing functions init, free, get * @brief initialize a LFU cache * * @param ccache_params some common cache parameters * @param cache_sp
libCacheSim/cache/eviction/LFU.c:75
↓ 7 callers
Function
LeCaR_init
* @brief initialize the cache * * @param ccache_params some common cache parameters * @param cache_specific_params cache specific parameters, see p
libCacheSim/cache/eviction/LeCaR.c:101
↓ 7 callers
Function
Sieve_init
* @brief initialize cache * * @param ccache_params some common cache parameters * @param cache_specific_params cache specific parameters, see parse
libCacheSim/cache/eviction/Sieve.c:45
↓ 7 callers
Function
XXH_swap32
libCacheSim/dataStructure/hash/xxhash.h:1156
↓ 7 callers
Function
_check_parsed_result
libCacheSim/bin/cli_reader_utils.c:73
↓ 7 callers
Function
add_new_key
@brief Add new key string to the current YAML node. @param key a key string to be added to the current YAML node. @param line The line where the key i
example/cacheHierarchy/fkYAML/node.hpp:8157
↓ 7 callers
Function
append_obj_to_tail
* append the object to the tail of the doubly linked list * the object is not in the list, otherwise, use move_obj_to_tail * @param head * @param t
libCacheSim/cache/cacheObj.c:210
↓ 7 callers
Function
cal_offset
libCacheSim/traceReader/generalReader/binary.c:26
↓ 7 callers
Function
cal_seg_utility
calculate segment utility, * oracle_obj_sel: if true, the retained objects are chosen using oracle * obj_score, if false, use current obj_score_type
libCacheSim/cache/eviction/GLCache/segment.c:186
↓ 7 callers
Function
convert_size_to_str
* convert size to an appropriate string with unit, for example 1048576 will be * 1 MiB * @param size * @param str a 8 byte char array */
libCacheSim/utils/mystr.c:20
↓ 7 callers
Method
destroy
libCacheSim/dataStructure/robin_hood.h:2449
↓ 7 callers
Function
format_to_size
binary ****************/
libCacheSim/traceReader/readerInternal.h:63
↓ 7 callers
Method
is_marked
libCacheSim/dataStructure/sparsepp/spp.h:1678
↓ 7 callers
Function
ketama_sem_unlock
\brief Unlocks the semaphore. * \param sem_set_id The semaphore handle that you want to unlock. */
example/cacheCluster/libketama/ketama.c:150
↓ 7 callers
Function
log2_ull
libCacheSim/utils/include/mymath.h:55
↓ 7 callers
Method
maintain
size of childs
libCacheSim/dataStructure/splaytree.hpp:19
↓ 7 callers
Method
next_chunk
Ptr to next or previous physical malloc_chunk.
libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:719
↓ 7 callers
Method
rbegin
libCacheSim/dataStructure/sparsepp/spp.h:1851
↓ 7 callers
Function
read_one_req_above
* read one request from reader precede current position, * in other words, read the line above current line, * and currently file points to either t
libCacheSim/traceReader/reader.c:435
↓ 7 callers
Method
reset
libCacheSim/dataStructure/sparsepp/spp_timer.h:35
↓ 7 callers
Function
set_error
libCacheSim/dataStructure/ketama/ketama.c:59
↓ 7 callers
Function
swap
libCacheSim/dataStructure/robin_hood.h:660
↓ 7 callers
Method
test_strict
also tests for erased values ----------------------------
libCacheSim/dataStructure/sparsepp/spp.h:1466
↓ 7 callers
Function
trace_type_str_to_enum
* @brief convert the trace type string to enum * * @param args */
libCacheSim/bin/cli_reader_utils.c:21
↓ 7 callers
Function
unescape_escaped_unicode
example/cacheHierarchy/fkYAML/node.hpp:5701
↓ 7 callers
Method
unsafe_get
TODO(csilvers): make protected + friend This is used by sparse_hashtable to get an element from the table when we know it exists.
libCacheSim/dataStructure/sparsepp/spp.h:1292
↓ 6 callers
Function
Cacheus_init
* @brief initialize a Cacheus cache * * @param ccache_params some common cache parameters * @param cache_specific_params Cacheus specific parameter
libCacheSim/cache/eviction/Cacheus.c:71
↓ 6 callers
Function
XXH3_mergeAccs
libCacheSim/dataStructure/hash/xxh3.h:1718
↓ 6 callers
Function
XXH_xorshift64
Seems to produce slightly better code on GCC for some reason. */
libCacheSim/dataStructure/hash/xxh3.h:658
↓ 6 callers
Function
align_as_chunk
chunk associated with aligned address A
libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:780
↓ 6 callers
Function
cal_obj_score
calculate the score of object, the larger score, the more important object is, we should keep it */
libCacheSim/cache/eviction/GLCache/obj.h:46
↓ 6 callers
Method
cend
libCacheSim/dataStructure/sparsepp/spp.h:1850
↓ 6 callers
Method
clear
libCacheSim/cache/eviction/3LCache/ThreeLCache.h:210
↓ 6 callers
Method
clear
It's always nice to be able to clear a table without deallocating it
libCacheSim/dataStructure/sparsepp/spp.h:1269
↓ 6 callers
Function
clone_reader
libCacheSim/traceReader/reader.c:536
↓ 6 callers
Function
create_dir
libCacheSim/utils/mysys.c:106
↓ 6 callers
Function
empty
@brief Checks if the referenced character sequence is empty. @return true if empty, false otherwise.
example/cacheHierarchy/fkYAML/node.hpp:2371
↓ 6 callers
Method
getFirst
libCacheSim/dataStructure/robin_hood.h:996
↓ 6 callers
Method
get_iter
Needed for hashtables, gets as a ne_iterator. Crashes for empty bcks
libCacheSim/dataStructure/sparsepp/spp.h:2192
↓ 6 callers
Function
input_adapter
example/cacheHierarchy/fkYAML/node.hpp:9816
↓ 6 callers
Function
parse_reader_params
* @brief parse the reader parameters * * @param reader_params_str * @param params */
libCacheSim/bin/cli_reader_utils.c:88
↓ 6 callers
Function
read_data
* @brief read one piece of data at src according to the format * return the value as int64_t * this limits our format support to int types * * @pa
libCacheSim/traceReader/generalReader/binary.c:180
↓ 6 callers
Method
rend
libCacheSim/dataStructure/sparsepp/spp.h:1854
↓ 6 callers
Method
set_context_state
@brief Toggles the context state between flow and block. @param is_flow_context true: flow context, false: block context
example/cacheHierarchy/fkYAML/node.hpp:3537
↓ 6 callers
Method
set_free_with_pinuse
Set size, pinuse bit, foot, and clear next pinuse
libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:739
↓ 6 callers
Function
spp_is_aligned
libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:279
↓ 6 callers
Function
stdev
libCacheSim/traceAnalyzer/utils/include/utilsMath.h:58
← previous
next →
101–200 of 3,238, ranked by callers