Nav apraksta

apkipa 1931e4acea closed 2 nedēļas atpakaļ
demo 473cbee9dc reformat 1 mēnesi atpakaļ
include 1931e4acea closed 2 nedēļas atpakaļ
misc 0516bbec2c main cluster 1 mēnesi atpakaļ
profiles c79448d622 try support c++11 3 nedēļas atpakaļ
src 1931e4acea closed 2 nedēļas atpakaļ
test_package 1bbe71a1da operator bool 3 nedēļas atpakaļ
.clang-format fe60455cd1 initial 2 mēneši atpakaļ
.gitignore 345389ec38 nullptr check 2 nedēļas atpakaļ
CMakeLists.txt c79448d622 try support c++11 3 nedēļas atpakaļ
CMakeUserPresets.json fe60455cd1 initial 2 mēneši atpakaļ
README-hf.md 98486a6758 change env var name 3 nedēļas atpakaļ
README-lf.md 98486a6758 change env var name 3 nedēļas atpakaļ
conanfile.py 37f7062d8c use custom logger instead of spdlog 1 mēnesi atpakaļ
deploy.sh 47546c94f3 change shebang 3 nedēļas atpakaļ
init_vscode_cmake.sh 47546c94f3 change shebang 3 nedēļas atpakaļ
package-gcc7.sh 98a39e1802 add gcc7 name 3 nedēļas atpakaļ
package.sh 31672c1242 fix package 1 mēnesi atpakaļ

README-hf.md

lib 存放依赖库(分为 x86-64 与 aarch64)。 include 存放头文件。 demo 存放 API 使用示例。

编译命令:

g++ -std=c++17 -Iinclude -Llib/x86-64 demo/tsdbtest_hf.cpp -o tsdbtest_hf -ltsdb-merged -lpthread

若需要日志输出,请在执行程序前配置如下环境变量:

  • TSDBLOG_LEVEL=trace / TSDBLOG_LEVEL=debug: 显示 trace / debug 等级的日志
  • TSDB_USE_FILE_LOGGING=1: 将日志写入文件而不是标准输出
  • TSDB_LOG_PATH: 日志文件路径,默认为 tsdb.log