Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dmlc/ps-lite
/ functions
Functions
300 in github.com/dmlc/ps-lite
⨍
Functions
300
◇
Types & classes
87
↓ 95 callers
Method
size
include/ps/range.h:19
↓ 45 callers
Method
find
* \brief find the env value. * User-defined env vars first. If not found, check system's environment * \param k the environment key * \retur
include/ps/internal/env.h:46
↓ 40 callers
Method
end
include/ps/range.h:18
↓ 28 callers
Method
join
(self)
tracker/tracker.py:355
↓ 23 callers
Method
push_back
include/ps/sarray.h:226
↓ 21 callers
Method
empty
include/ps/sarray.h:205
↓ 20 callers
Method
begin
include/ps/range.h:17
↓ 18 callers
Method
data
include/ps/sarray.h:214
↓ 15 callers
Method
DebugString
\brief get debug string */
include/ps/internal/message.h:71
↓ 15 callers
Method
clear
@brief release the memory */
include/ps/sarray.h:202
↓ 15 callers
Method
sendint
(self, n)
tracker/tracker.py:38
↓ 11 callers
Method
Wait
* \brief Waits until a push or pull has been finished * * Sample usage: * \code * int ts = w.Pull(keys, &vals); * Wait(ts); *
include/ps/kv_app.h:233
↓ 10 callers
Method
Push
* \brief Pushes a list of key-value pairs to all server nodes. * * This function pushes a KV list specified by \a keys and \a vals to all * s
include/ps/kv_app.h:114
↓ 10 callers
Method
append
include/ps/sarray.h:233
↓ 10 callers
Method
resize
* @brief Resizes the array to size elements * * If size <= capacity_, then only change the size. otherwise, append size - * current_size entr
include/ps/sarray.h:173
↓ 9 callers
Function
Start
* \brief start the system * * This function will block until every nodes are started. * \param argv0 the program name, used for logging */
include/ps/ps.h:37
↓ 8 callers
Method
recvint
(self)
tracker/tracker.py:36
↓ 8 callers
Method
reset
include/ps/sarray.h:163
↓ 8 callers
Method
size
include/ps/sarray.h:206
↓ 7 callers
Method
app_id
* \brief return the globally unique application id */
include/ps/internal/customer.h:51
↓ 6 callers
Method
AddData
include/ps/internal/message.h:213
↓ 6 callers
Function
Finalize
* \brief terminate the system * * All nodes should call this function before existing. * \param do_barrier whether to block until every node is fi
include/ps/ps.h:55
↓ 6 callers
Method
ShortDebugString
\brief get short debug string */
include/ps/internal/message.h:80
↓ 6 callers
Method
WaitAndPop
* \brief wait until pop an element from the beginning, threadsafe * \param value the poped value */
include/ps/internal/threadsafe_queue.h:37
↓ 6 callers
Method
begin
include/ps/sarray.h:209
↓ 6 callers
Method
customer_id
* \brief return the locally unique customer id */
include/ps/internal/customer.h:57
↓ 6 callers
Method
start
(self, nslave)
tracker/tracker.py:307
↓ 5 callers
Function
GetEnv
include/ps/internal/utils.h:30
↓ 5 callers
Method
Response
include/ps/kv_app.h:497
↓ 5 callers
Method
front
include/ps/sarray.h:222
↓ 4 callers
Method
empty
\brief return true is empty */
include/ps/internal/message.h:105
↓ 4 callers
Method
end
include/ps/sarray.h:211
↓ 4 callers
Method
num_servers
\brief Returns the number of server nodes */
include/ps/internal/postoffice.h:124
↓ 4 callers
Method
segment
* @brief Slice a segment, zero-copy * * @param begin the start index segment * @param end the end index segment * @return the segment [beg
include/ps/sarray.h:248
↓ 4 callers
Method
set_request_handle
include/ps/kv_app.h:417
↓ 4 callers
Method
van
\brief get the van */
include/ps/internal/postoffice.h:28
↓ 3 callers
Method
Alloc
Take a buffer of ``size'' from the pool. If there is not enough remaining space in existing memory regions, allocate and register a new memory region.
src/ibverbs_van.h:114
↓ 3 callers
Method
Free
Return the buffer pointed by ``addr'' into the pool
src/ibverbs_van.h:168
↓ 3 callers
Function
IsServer
\brief Returns true if this node is a server node. */
include/ps/ps.h:22
↓ 3 callers
Function
IsWorker
\brief Returns true if this node is a worker node */
include/ps/ps.h:20
↓ 3 callers
Function
MyRank
\brief Returns the rank of this node in its group * * Each worker will have a unique rank within [0, NumWorkers()). So are * servers. This function
include/ps/ps.h:30
↓ 3 callers
Method
NewRequest
src/customer.cc:25
↓ 3 callers
Method
Pull
* \brief Pulls the values associated with the keys from the server nodes * * This function pulls the values of the keys specified in \a keys fro
include/ps/kv_app.h:151
↓ 3 callers
Function
RegisterExitCallback
* \brief Register a callback to the system which is called after Finalize() * * The following codes are equal * \code {cpp} * RegisterExitCallback
include/ps/ps.h:73
↓ 3 callers
Method
Send
src/van.cc:388
↓ 3 callers
Method
Send
include/ps/kv_app.h:575
↓ 3 callers
Method
UpdateHeartbeat
* \brief update the heartbeat record map * \param node_id the \ref Node id * \param t the last received heartbeat time */
include/ps/internal/postoffice.h:156
↓ 3 callers
Method
_print_summary_map
Print summary of certain result map.
tests/lint.py:22
↓ 3 callers
Method
is_worker
\brief Returns true if this node is a worker node */
include/ps/internal/postoffice.h:132
↓ 3 callers
Method
num_workers
\brief Returns the number of worker nodes */
include/ps/internal/postoffice.h:122
↓ 3 callers
Method
recvstr
(self)
tracker/tracker.py:43
↓ 3 callers
Method
submit
(self)
tracker/dmlc_ssh.py:56
↓ 2 callers
Function
FindRange
include/ps/sarray.h:282
↓ 2 callers
Method
GetDeadNodes
src/postoffice.cc:196
↓ 2 callers
Method
HumanDate
include/dmlc/logging.h:151
↓ 2 callers
Method
Init
src/ibverbs_van.h:425
↓ 2 callers
Function
InitLogging
include/dmlc/logging.h:54
↓ 2 callers
Method
PushPull
* \brief Pushes and Pulls a list of key-value pairs to and from the server * nodes. * * This function pushes the values of the keys specified
include/ps/kv_app.h:194
↓ 2 callers
Method
SetNodeID
src/ibverbs_van.h:407
↓ 2 callers
Method
Start
src/van.cc:262
↓ 2 callers
Method
WaitRequest
src/customer.cc:32
↓ 2 callers
Method
assign_rank
(self, rank, wait_conn, tree_map, parent_map, ring_map)
tracker/tracker.py:70
↓ 2 callers
Function
get_mpi_env
get the mpirun command for setting the envornment support both openmpi and mpich2
tracker/dmlc_mpi.py:33
↓ 2 callers
Method
is_scheduler
\brief Returns true if this node is a scheduler node. */
include/ps/internal/postoffice.h:136
↓ 2 callers
Function
process
Process a file.
tests/lint.py:131
↓ 2 callers
Method
recvall
(self, nbytes)
tracker/tracker.py:27
↓ 2 callers
Method
submit
(self)
tracker/dmlc_local.py:59
↓ 2 callers
Method
verbose
\brief Returns the verbose level. */
include/ps/internal/postoffice.h:138
↓ 1 callers
Method
Accept
* \brief accept a received message from \ref Van. threadsafe * \param recved the received the message */
include/ps/internal/customer.h:88
↓ 1 callers
Method
AddCustomer
src/postoffice.cc:101
↓ 1 callers
Method
AddIncomming
* \brief add an incomming message * \brief return true if msg has been added before or a ACK message */
src/resender.h:54
↓ 1 callers
Method
AddOutgoing
* \brief add an outgoining message * */
src/resender.h:36
↓ 1 callers
Method
AddResponse
src/customer.cc:44
↓ 1 callers
Function
DebugStr
include/ps/sarray.h:292
↓ 1 callers
Function
Demangle
include/dmlc/logging.h:193
↓ 1 callers
Method
Finalize
src/postoffice.cc:84
↓ 1 callers
Method
GetAddressAndRelease
src/ibverbs_van.h:319
↓ 1 callers
Function
GetAvailableInterfaceAndIP
* \brief return the IP address and Interface the first interface which is not * loopback * * only support IPv4 */
src/network_utils.h:121
↓ 1 callers
Function
GetAvailablePort
* \brief return an available port on local machine * * only support IPv4 * \return 0 on failure */
src/network_utils.h:226
↓ 1 callers
Method
GetCustomer
src/postoffice.cc:125
↓ 1 callers
Function
GetIP
* \brief return the IP address for given interface eth0, eth1, ... */
src/network_utils.h:28
↓ 1 callers
Method
GetTimestamp
* \brief get next available timestamp. thread safe */
include/ps/internal/van.h:76
↓ 1 callers
Method
IsReady
* \brief whether it is ready for sending. thread safe */
include/ps/internal/van.h:81
↓ 1 callers
Function
IsScheduler
\brief Returns true if this node is a scheduler node. */
include/ps/ps.h:24
↓ 1 callers
Method
LocalKey
src/ibverbs_van.h:184
↓ 1 callers
Method
Manage
src/postoffice.cc:182
↓ 1 callers
Method
NumResponse
src/customer.cc:39
↓ 1 callers
Method
PostRecv
src/ibverbs_van.h:462
↓ 1 callers
Method
Push
* \brief push an value into the end. threadsafe. * \param new_value the value */
include/ps/internal/threadsafe_queue.h:26
↓ 1 callers
Method
RegisterExitCallback
* \brief Register a callback to the system which is called after Finalize() * * The following codes are equal * \code {cpp} * RegisterExit
include/ps/internal/postoffice.h:94
↓ 1 callers
Method
Release
src/ibverbs_van.h:226
↓ 1 callers
Method
RemoteKey
src/ibverbs_van.h:189
↓ 1 callers
Method
RemoveCustomer
src/postoffice.cc:114
↓ 1 callers
Method
Request
include/ps/simple_app.h:131
↓ 1 callers
Method
Response
include/ps/simple_app.h:151
↓ 1 callers
Function
RunWorker
tests/test_kv_app_benchmark.cc:38
↓ 1 callers
Function
RunWorker
tests/test_kv_app.cc:15
↓ 1 callers
Method
ServerRankToID
* \brief convert from a server rank into a node id * \param rank the server rank */
include/ps/internal/postoffice.h:108
↓ 1 callers
Function
StackTrace
include/dmlc/logging.h:218
↓ 1 callers
Function
StartServer
tests/test_kv_app_multi_workers.cc:5
next →
1–100 of 300, ranked by callers