MCPcopy Create free account
hub / github.com/TileDB-Inc/TileDB / dump

Method dump

tiledb/sm/cpp_api/profile_experimental.h:273–286  ·  view source on GitHub ↗

Dumps the profile in ASCII format. */

Source from the content-addressed store, hash-verified

271
272 /** Dumps the profile in ASCII format. */
273 std::string dump() const {
274 tiledb_error_t* capi_error = nullptr;
275 tiledb_string_t* str;
276 int rc = tiledb_profile_dump_str(profile_.get(), &str, &capi_error);
277 if (rc != TILEDB_OK) {
278 const char* msg_cstr;
279 tiledb_error_message(capi_error, &msg_cstr);
280 std::string msg = msg_cstr;
281 tiledb_error_free(&capi_error);
282 throw ProfileException(msg);
283 }
284
285 return impl::convert_to_string(&str).value();
286 }
287
288 private:
289 /* ********************************* */

Callers

nothing calls this directly

Calls 7

tiledb_profile_dump_strFunction · 0.85
tiledb_error_messageFunction · 0.85
tiledb_error_freeFunction · 0.85
ProfileExceptionClass · 0.85
convert_to_stringFunction · 0.85
getMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected