Class ProfileHttpContext¶
Defined in File request_http.h
Class Documentation¶
-
class
ProfileHttpContext
¶ ProfileHttpContext is the HTTP instantiation of ProfileContext.
Public Static Functions
-
static Error
Create
(std::unique_ptr<ProfileContext> *ctx, const std::string &server_url, bool verbose = false)¶ Create context that controls profiling on a server using HTTP protocol.
- Return
Error object indicating success or failure.
- Parameters
ctx
: Returns the new ProfileContext object.server_url
: The inference server name and port.verbose
: If true generate verbose output when contacting the inference server.
-
static Error