libragephoto: add benchmark to C implementation

CMakeLists.txt: update RAGEPHOTO_BENCHMARK description
RagePhoto.c: add benchmark
RagePhoto.cpp: change benchmark clock from
std::chrono::high_resolution_clock to std::chrono::steady_clock
Ten commit jest zawarty w:
Syping 2023-12-10 07:57:15 +01:00
rodzic 6046b7213a
commit 1b7b3c977b
3 zmienionych plików z 20 dodań i 3 usunięć

Wyświetl plik

@ -69,7 +69,7 @@ else()
endif()
# RagePhoto Benchmark
option(RAGEPHOTO_BENCHMARK "Build with libragephoto benchmark (C++ only)" OFF)
option(RAGEPHOTO_BENCHMARK "Build with libragephoto benchmark" OFF)
# RagePhoto API
option(RAGEPHOTO_C_API "Build libragephoto with C API support" ON)