8#ifndef BenchLogger_DEFINED
9#define BenchLogger_DEFINED
38 void logError(
const char msg[]) { this->nativeLogError(msg); }
50 this->nativeLogProgress(msg);
51 this->fileWrite(msg, strlen(msg));
59 this->nativeLogProgress(str.
c_str());
64#ifdef SK_BUILD_FOR_ANDROID
65 void nativeLogError(
const char msg[]) {
SkDebugf(
"%s", msg); }
67 void nativeLogError(
const char msg[]) { fprintf(stderr,
"%s", msg); }
69 void nativeLogProgress(
const char msg[]) {
SkDebugf(
"%s", msg); }
71 void fileWrite(
const char msg[],
size_t size);
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
bool SetLogFile(const char file[])
void logError(const char msg[])
void logError(const SkString &str)
void logProgress(const char msg[])
void logProgress(const SkString &str)
const char * c_str() const
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size