MCPcopy Create free account

hub / github.com/Lwhyz/workspace / functions

Functions101 in github.com/Lwhyz/workspace

↓ 19 callersMethodsubmit
include/workspace/workspace.hpp:225
↓ 18 callersMethodwait_tasks
* @brief Wait for all tasks done. * @brief This interface will pause all threads(workers) in workbranch to * relieve system's stress. *
include/workspace/workbranch.hpp:99
↓ 17 callersMethodattach
* @brief attach a workbranch * @param br ptr (heap memory) * @return id * @note O(1) */
include/workspace/workspace.hpp:109
↓ 13 callersMethodget
* @brief get set of result * @return std::vector<T> */
include/workspace/utility.hpp:224
↓ 10 callersMethodfor_each
include/workspace/utility.hpp:248
↓ 9 callersMethodnum_tasks
* @brief get number of tasks in the task queue * @return number */
include/workspace/workbranch.hpp:132
↓ 9 callersMethodsize
include/workspace/utility.hpp:217
↓ 9 callersMethodsupervise
* @brief start supervising a workbranch * @param wbr reference of workbranch */
include/workspace/supervisor.hpp:66
↓ 9 callersMethodwhat
test/test_exception.cc:13
↓ 8 callersFunctionbench
bench/bench1.cc:8
↓ 8 callersFunctionbench
bench/bench2.cc:8
↓ 6 callersFunctionbench
bench/bench3.cc:8
↓ 5 callersMethodnum_workers
* @brief get number of workers * @return number */
include/workspace/workbranch.hpp:124
↓ 5 callersMethodwait
wait for all futures
include/workspace/utility.hpp:212
↓ 4 callersFunctionseperate
test/test_function.cc:58
↓ 4 callersFunctiontimewait
benchmark/timewait.h:10
↓ 3 callersMethodbegin
include/workspace/utility.hpp:236
↓ 3 callersMethoddel_worker
* @brief delete one worker * @note O(1) */
include/workspace/workbranch.hpp:82
↓ 3 callersMethodend
include/workspace/utility.hpp:232
↓ 3 callersMethodpush_back
include/workspace/taskqueue.hpp:26
↓ 2 callersMethodadd_back
include/workspace/utility.hpp:240
↓ 2 callersMethodadd_worker
* @brief add one worker * @note O(logN) */
include/workspace/workbranch.hpp:72
↓ 2 callersMethodclone_into
include/workspace/utility.hpp:77
↓ 2 callersMethoddetach
* @brief detach workbranch by id * @param id branch's id * @return std::unique_ptr<workbranch> * @note O(n) */
include/workspace/workspace.hpp:133
↓ 2 callersMethodget_id
include/workspace/autothread.hpp:29
↓ 2 callersMethodmove_into
include/workspace/utility.hpp:74
↓ 2 callersMethodpush_front
include/workspace/taskqueue.hpp:34
↓ 2 callersFunctionrepeat
test/test_supervisor.cc:4
↓ 2 callersMethodset_tick_cb
* @brief Always execute callback before taking a rest * @param cb callback function */
include/workspace/supervisor.hpp:91
↓ 1 callersMethodget_ref
* @brief get reference of workbranch * @param id workbranch's id * @return reference * @note O(1) */
include/workspace/workspace.hpp:205
↓ 1 callersMethodinvoke
include/workspace/utility.hpp:71
↓ 1 callersMethodlength
include/workspace/taskqueue.hpp:51
↓ 1 callersMethodproceed
go on supervising
include/workspace/supervisor.hpp:80
↓ 1 callersMethodreset
include/workspace/utility.hpp:174
↓ 1 callersMethodrexec
include/workspace/workbranch.hpp:324
↓ 1 callersMethodsuspend
* @brief suspend the supervisor * @param timeout the longest waiting time */
include/workspace/supervisor.hpp:75
↓ 1 callersMethodtry_pop
include/workspace/taskqueue.hpp:42
↓ 1 callersMethod~callable_base
include/workspace/utility.hpp:61
MethodBigTask
test/test_function.cc:30
MethodSmallTask
test/test_function.cc:9
Methodadd_front
include/workspace/utility.hpp:244
Methodautothread
include/workspace/autothread.hpp:19
Methodautothread
include/workspace/autothread.hpp:39
Methodbid
include/workspace/workspace.hpp:43
Methodcallable_impl
include/workspace/utility.hpp:69
Methodclone_into
include/workspace/utility.hpp:106
Methodexcep
test/test_exception.cc:8
Methodfor_each
* @brief travel all the workbranchs and deal each of them * @param deal <void(workbranch&)> how to deal with the work branch */
include/workspace/workspace.hpp:165
Methodfunction_
include/workspace/utility.hpp:114
Methodget_id
include/workspace/autothread.hpp:49
Methodheap_callable_impl
include/workspace/utility.hpp:86
Methodinvoke
include/workspace/utility.hpp:98
Functionmain
example/e6.cc:3
Functionmain
example/e5.cc:3
Functionmain
example/e2.cc:3
Functionmain
example/e4.cc:3
Functionmain
example/e1.cc:3
Functionmain
example/e3.cc:3
Functionmain
benchmark/bench1.cc:8
Functionmain
benchmark/bench2.cc:5
Functionmain
benchmark/bench4.cc:5
Functionmain
benchmark/bench3.cc:5
Functionmain
test/test_workbranch.cc:3
Functionmain
test/test_workspace.cc:5
Functionmain
test/test_supervisor.cc:10
Functionmain
test/test_function.cc:62
Functionmain
test/test_exception.cc:18
Functionmain
bench/bench1.cc:20
Functionmain
bench/bench2.cc:23
Functionmain
bench/bench3.cc:23
Methodmission
thread's default loop
include/workspace/workbranch.hpp:270
Methodmission
loop func
include/workspace/supervisor.hpp:97
Methodmove_into
include/workspace/utility.hpp:101
Methodoperator!=
include/workspace/workspace.hpp:50
Methodoperator!=
include/workspace/workspace.hpp:73
Methodoperator()
test/test_function.cc:21
Methodoperator()
test/test_function.cc:42
Methodoperator()
include/workspace/utility.hpp:185
Methodoperator<
include/workspace/workspace.hpp:53
Methodoperator<
include/workspace/workspace.hpp:76
Methodoperator==
include/workspace/workspace.hpp:47
Methodoperator==
include/workspace/workspace.hpp:70
Methodoperator[]
include/workspace/utility.hpp:263
Methodoperator[]
* @brief get ref of workbranch by id * @param id workbranch's id * @return reference of the workbranch * @note O(1) */
include/workspace/workspace.hpp:186
Functionsafe_exec
test/test_function.cc:50
Methodsid
include/workspace/workspace.hpp:66
Methodsubmit
include/workspace/workbranch.hpp:144
Methodsupervisor
* @brief construct a supervisor * @param min_wokrs min nums of workers * @param max_wokrs max nums of workers * @param time_interval t
include/workspace/supervisor.hpp:42
Methodtaskqueue
include/workspace/taskqueue.hpp:21
Methodworkbranch
* @brief construct function * @param wks initial number of workers * @param strategy wait_strategy for workers (defaults to lowlatancy).
include/workspace/workbranch.hpp:51
Methodworkspace
include/workspace/workspace.hpp:95
Method~BigTask
test/test_function.cc:39
Method~SmallTask
test/test_function.cc:18
Method~autothread
include/workspace/autothread.hpp:24
Method~autothread
include/workspace/autothread.hpp:44
Method~excep
test/test_exception.cc:11
Method~function_
include/workspace/utility.hpp:170
Method~heap_callable_impl
include/workspace/utility.hpp:96
Method~supervisor
include/workspace/supervisor.hpp:53
Method~workbranch
include/workspace/workbranch.hpp:59
next →1–100 of 101, ranked by callers