Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PlatformLab/Arachne
/ functions
Functions
336 in github.com/PlatformLab/Arachne
⨍
Functions
336
◇
Types & classes
55
↓ 1 callers
Function
mainThreadInit
* Set up just enough state to allow the current thread to invoke Arachne * functions without being on an Arachne core. It is automatically invoked in
src/Arachne.cc:1180
↓ 1 callers
Function
migrateThreadsFromCore
* Remove all threads from the target core (with the exception of the caller), * and migrate them into outputCores. This function can only be run from
src/Arachne.cc:1542
↓ 1 callers
Method
notify
* If there are threads waiting on this semaphore, wake up one of them. * Otherwise, the next thread to wait on this semaphore will immediately * awa
src/Arachne.cc:1331
↓ 1 callers
Function
parseOptions
* This function parses out the arguments intended for the thread library from * a command line, and adjusts the values of argc and argv to eliminate
src/Arachne.cc:881
↓ 1 callers
Function
prepareForExclusiveUse
* This method puts the given core into a state such that no threads are * running on it and only a single thread can be scheduled onto it. */
src/Arachne.cc:1724
↓ 1 callers
Function
preventCreationsToCore
* After this function returns, threads may no longer be added to the target * core. This function can be invoked from any thread on any core. It is
src/Arachne.cc:1488
↓ 1 callers
Method
reset
* Change this Semaphore to a fully locked state. */
src/Arachne.cc:1320
↓ 1 callers
Method
runThread
This is invoked exactly once for each Arachne thread to begin its execution.
src/Arachne.h:278
↓ 1 callers
Method
setLoadFactorThreshold
* Invoking this function will set the load factor threshold and also * change the load estimation strategy to use load factor. */
src/CoreLoadEstimator.cc:147
↓ 1 callers
Method
setMaxUtilization
* Invoking this function will set the max utilization threshold and also * change the load estimation strategy to use utilization. */
src/CoreLoadEstimator.cc:158
↓ 1 callers
Function
sleepForCycles
* Sleep for at least cycles cycles. The amount of additional delay may be * impacted by other threads' activities such as blocking and yielding. */
src/Arachne.cc:547
↓ 1 callers
Method
thread
(self, threadContext, from_tty)
scripts/gdb-thread-arachne.py:29
↓ 1 callers
Method
wait
src/Arachne.h:636
↓ 1 callers
Method
waitFor
src/Arachne.h:664
↓ 1 callers
Method
~ConditionVariable
src/Arachne.cc:1286
↓ 1 callers
Method
~SpinLock
src/SpinLock.h:55
Method
CheckBegin
(self, filename, clean_lines, linenum, error)
scripts/cpplint.py:2158
Method
CheckEnd
(self, filename, clean_lines, linenum, error)
scripts/cpplint.py:2163
Method
CheckEnd
Check end of namespace comments.
scripts/cpplint.py:2202
Method
ConditionVariable
src/Arachne.cc:1284
Method
CoreList
Constructor
src/CorePolicy.h:41
Method
CoreLoadEstimator
src/CoreLoadEstimator.cc:21
Method
DefaultCorePolicy
Constructor \param maxNumCores The largest number of cores the application will ever require. \param estimateLoad True means that this core estimator
src/DefaultCorePolicy.cc:35
Function
FlagCxx14Features
Flag those C++14 features that we restrict. Args: filename: The name of the current file. clean_lines: A CleansedLines instance containing
scripts/cpplint.py:5582
Method
IdleTimeTracker
Constructor
src/Arachne.cc:1366
Method
InClassDeclaration
Check if we are currently one level inside a class or struct declaration. Returns: True if top of the stack is a class/struct, False otherw
scripts/cpplint.py:2320
Method
IsBlockInfo
Returns true if this block is a _BlockInfo. This is convenient for verifying that an object is an instance of a _BlockInfo, but not an instan
scripts/cpplint.py:2106
Function
IsDecltype
Check if the token ending on (linenum, column) is decltype(). Args: clean_lines: A CleansedLines instance containing the file. linenum: the
scripts/cpplint.py:3528
Method
NestedDispatchDetector
Constructor
src/Arachne.cc:1398
Method
NoExtension
File has no source file extension.
scripts/cpplint.py:1152
Method
PerfStats
Constructor initializes all elements to 0
src/PerfStats.cc:31
Method
Semaphore
Constructor
src/Arachne.cc:1314
Method
SetUp
Override this to define how to set up the environment.
cwrapper/arachne_wrapper_test.cc:60
Method
SetUp
cwrapper/arachne_wrapper_test.cc:90
Method
SetUp
Override this to define how to set up the environment.
src/ArachneTest.cc:61
Method
SetUp
src/ArachneTest.cc:92
Method
SetUp
Override this to define how to set up the environment.
src/DefaultCorePolicyTest.cc:61
Method
SetUp
src/DefaultCorePolicyTest.cc:91
Method
SleepLock
Constructor and destructor for sleepLock. */
src/Arachne.h:159
Method
SpinLock
Constructor \param name The name of this SpinLock, used for logging when there is a potential deadlock. If given, the name must be a string literal. \
src/SpinLock.h:51
Function
TEST
src/CorePolicyTest.cc:28
Function
TEST_F
cwrapper/arachne_wrapper_test.cc:137
Function
TEST_F
src/ArachneTest.cc:161
Function
TEST_F
src/DefaultCorePolicyTest.cc:128
Method
TearDown
Override this to define how to tear down the environment.
cwrapper/arachne_wrapper_test.cc:76
Method
TearDown
cwrapper/arachne_wrapper_test.cc:102
Method
TearDown
Override this to define how to tear down the environment.
src/ArachneTest.cc:78
Method
TearDown
src/ArachneTest.cc:104
Method
TearDown
Override this to define how to tear down the environment.
src/DefaultCorePolicyTest.cc:77
Method
TearDown
src/DefaultCorePolicyTest.cc:103
Method
ThreadContext
src/Arachne.cc:963
Method
ThreadContext
src/Arachne.h:368
Method
ThreadId
Construct a ThreadId. \param context The location where the thread's metadata currently lives. \param generation Used to differentiate this thread fro
src/Arachne.h:109
Method
ThreadInvocation
Construct a threadInvocation from the type that is returned by std::bind.
src/Arachne.h:268
Method
__init__
(self)
scripts/gdb-thread-arachne.py:8
Method
__init__
(self)
scripts/cpplint.py:720
Method
__init__
(self)
scripts/cpplint.py:853
Method
__init__
(self)
scripts/cpplint.py:1012
Method
__init__
(self, lines)
scripts/cpplint.py:1408
Method
__init__
(self, linenum, seen_open_brace)
scripts/cpplint.py:2071
Method
__init__
(self, linenum)
scripts/cpplint.py:2121
Method
__init__
(self, name, class_or_struct, clean_lines, linenum)
scripts/cpplint.py:2128
Method
__init__
(self, name, linenum)
scripts/cpplint.py:2197
Method
__init__
(self, stack_before_if)
scripts/cpplint.py:2258
Method
__init__
(self)
scripts/cpplint.py:2272
Method
__init__
(self)
scripts/gdb-backtrace-arachne.py:10
Method
adjustCores
* This is the main function for a thread which periodically evaluates load and * determines whether to adjust cores between threadClasses, and/or inc
src/DefaultCorePolicy.cc:151
Function
arachne_set_errorstream
* This function is used to change the target of the error stream, allowing * redirection to an application's log. */
cwrapper/arachne_wrapper.cc:162
Function
arachne_set_loadfactor
* This function is used to set the load factor threshold and switch to use load * factor to do core load estimation */
cwrapper/arachne_wrapper.cc:151
Function
arachne_set_maxutil
* This function is used to set the maximum utilization threshold and switch * to use utilization only to do core load estimation. */
cwrapper/arachne_wrapper.cc:140
Function
arachne_thread_getid
* This function is used to get thread local variable * Arachne::core.id */
cwrapper/arachne_wrapper.cc:131
Function
arachne_thread_yield
* This function is the wrapper for Arachne::yield. */
cwrapper/arachne_wrapper.cc:122
Function
bitSetter
src/ArachneTest.cc:468
Function
blocker
src/ArachneTest.cc:543
Function
blockingThread
src/ArachneTest.cc:578
Function
checkSchedulerState
Helper method for schedulerMainLoop
src/ArachneTest.cc:436
Method
clearDispatchFlag
This method is invoked to prevent a false alarm when schedulerMainLoop calls dispatch() the first time.
src/Arachne.cc:1418
Function
clearFlag
src/ArachneTest.cc:303
Method
collectStats
* This method aggregates performance information from all of the * PerfStats structures that have been registered via the registerStats * method. *
src/PerfStats.cc:99
Function
create_thread_test
cwrapper/arachne_wrapper_ctest.c:56
Method
disableLoadEstimation
* After this function returns, load estimations that have already begun * will complete, but no future load estimations will occur. */
src/DefaultCorePolicy.cc:105
Function
doNothing
src/ArachneTest.cc:925
Method
enableLoadEstimation
* After this function returns, load estimation will resume normal operation. */
src/DefaultCorePolicy.cc:113
Function
exclusiveThread
src/ArachneTest.cc:930
Function
funcCreateTest
Functions below are used to test thread creation
cwrapper/arachne_wrapper_test.cc:128
Function
func_create_test
* Functions below are used to test thread creation */
cwrapper/arachne_wrapper_ctest.c:45
Method
getCapacity
Get the maximum number of elements in this CoreList.
src/CorePolicy.h:79
Method
getExclusiveCore
* Find or allocate a core for exclusive use by a thread. * Existing threads may be migrated to make a core exclusive. */
src/DefaultCorePolicy.cc:127
Method
getStats
* This method must be called obtain the PerfStats structure belonging to a * core. Typically this method is invoked once each time a kernel thread *
src/PerfStats.cc:51
Function
idleCorePrivate
* This method is invoked on the core being idled; puts the core into a deep * sleep. * * \param coreId * The coreId of the core that will idle
src/Arachne.cc:1702
Method
init
src/Logger.cc:38
Method
invoke
(self, arg, from_tty)
scripts/gdb-thread-arachne.py:47
Method
invoke
(self, arg, from_tty)
scripts/gdb-backtrace-arachne.py:59
Function
joinee
src/ArachneTest.cc:615
Function
joinee2
src/ArachneTest.cc:630
Function
joiner
src/ArachneTest.cc:622
Method
lock
Repeatedly try to acquire this resource until success. */
src/SpinLock.h:58
Function
lockContender
src/ArachneTest.cc:178
Function
lockHolder
src/ArachneTest.cc:246
Function
lockTaker
src/ArachneTest.cc:152
← previous
next →
201–300 of 336, ranked by callers