|
CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
|
Connection statistics: uptime, bytes, requests, tokens and cost. More...
#include <LLMConnection.h>
Public Member Functions | |
| LLMStats () | |
Public Attributes | |
| uint64 | uptimeMS |
| uint64 | bytesSent |
| uint64 | bytesReceived |
| uint64 | requestCount |
| uint64 | tokensIn |
| uint64 | tokensOut |
| uint64 | replyChunks |
| double | cost |
| bool | ended |
Connection statistics: uptime, bytes, requests, tokens and cost.
true, so an owner can take a final snapshot. Definition at line 203 of file LLMConnection.h.
|
inline |
Definition at line 214 of file LLMConnection.h.
References bytesReceived, bytesSent, cost, ended, replyChunks, requestCount, tokensIn, tokensOut, and uptimeMS.
| uint64 cmlabs::LLMStats::bytesReceived |
Definition at line 206 of file LLMConnection.h.
Referenced by LLMStats().
| uint64 cmlabs::LLMStats::bytesSent |
Definition at line 205 of file LLMConnection.h.
Referenced by LLMStats().
| double cmlabs::LLMStats::cost |
Definition at line 211 of file LLMConnection.h.
Referenced by LLMStats().
| bool cmlabs::LLMStats::ended |
Definition at line 212 of file LLMConnection.h.
Referenced by LLMStats().
| uint64 cmlabs::LLMStats::replyChunks |
Definition at line 210 of file LLMConnection.h.
Referenced by LLMStats().
| uint64 cmlabs::LLMStats::requestCount |
Definition at line 207 of file LLMConnection.h.
Referenced by LLMStats().
| uint64 cmlabs::LLMStats::tokensIn |
Definition at line 208 of file LLMConnection.h.
Referenced by LLMStats().
| uint64 cmlabs::LLMStats::tokensOut |
Definition at line 209 of file LLMConnection.h.
Referenced by LLMStats().
| uint64 cmlabs::LLMStats::uptimeMS |
Definition at line 204 of file LLMConnection.h.
Referenced by LLMStats(), and cmlabs::LLMConnection::stats().