I hereby claim:
- I am gatoatigrado on github.
- I am gatoatigrado (https://keybase.io/gatoatigrado) on keybase.
- I have a public key ASCBg1juVDDpJu57lEyNMc_33whKTa_5s3YJMjX0CJWnnwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
diff --git a/CMakeLists.txt b/CMakeLists.txt | |
index d3e2f2c..e1e4dd4 100644 | |
--- a/CMakeLists.txt | |
+++ b/CMakeLists.txt | |
@@ -310,7 +310,24 @@ find_package(ZLIB REQUIRED) | |
if(WITH_SYSTEM_KLT) | |
find_package(KLT REQUIRED) | |
endif() | |
- | |
+find_package(Threads) |
# -*- coding: utf-8 -*- | |
"""Runs RawTherapee benchmarking""" | |
from __future__ import absolute_import | |
from __future__ import division | |
from __future__ import print_function | |
import glob | |
import os | |
import os.path | |
import subprocess |
diff --git a/src/cmslut.c b/src/cmslut.c | |
index 3c0c245..6c7edfd 100644 | |
--- a/src/cmslut.c | |
+++ b/src/cmslut.c | |
@@ -24,6 +24,9 @@ | |
//--------------------------------------------------------------------------------- | |
// | |
+#include <stdio.h> | |
+#include <stdint-gcc.h> |
Flat profile: | |
Each sample counts as 0.01 seconds. | |
% cumulative self self total | |
time seconds seconds calls s/call s/call name | |
40.35 1.40 1.40 318 0.00 0.00 rtengine::RawImageSource::amaze_demosaic_RT(int, int, int, int, array2D<float>&, array2D<float>&, array2D<float>&, array2D<float>&) | |
34.01 2.58 1.18 1 1.18 1.18 rtengine::ImProcFunctions::rgbProc(rtengine::Imagefloat*, rtengine::LabImage*, rtengine::PipetteBuffer*, LUT<float>&, LUT<float>&, LUT<float>&, rtengine::SHMap*, int, LUT<float>&, LUT<float>&, LUT<float>&, float, float, rtengine::ColorGradientCurve const&, rtengine::OpacityCurve const&, bool, LUT<float>&, LUT<float>&, rtengine::ToneCurve const&, rtengine::ToneCurve const&, rtengine::ToneCurve const&, rtengine::ToneCurve const&, double&, double&, double&, float&, float&, float&, double, int, int, rtengine::DCPProfile*, rtengine::DCPProfile::ApplyState const&, LUT<unsigned int>&) | |
4.61 2.74 0 |
diff --git a/rtengine/StopWatch.h b/rtengine/StopWatch.h | |
index 9e4400b..4a4ca65 100644 | |
--- a/rtengine/StopWatch.h | |
+++ b/rtengine/StopWatch.h | |
@@ -19,6 +19,7 @@ | |
* Author: reine | |
*/ | |
+#define BENCHMARK | |
#ifndef STOPWATCH_H |
oliver:/tmp> time rawtherapee-cli -Y -t -p ~/.config/RawTherapee/profiles/SonyDefault.pp3 -c /tmp/test.arw | |
RawTherapee, version 5.3-347-g6001676, command line | |
Processing: /tmp/test.arw | |
sony_arw2_load_raw took 160 ms | |
Merging procparams #0 | |
scaleColors took 57 ms | |
amaze_demosaic_RT took 1446 ms | |
stage_init took 2653 ms | |
stage_denoise took 0 ms | |
stage_transform took 169 ms |
oliver:/tmp> gprof $(which rawtherapee-cli) gmon.out | head -20 | |
Flat profile: | |
Each sample counts as 0.01 seconds. | |
% cumulative self self total | |
time seconds seconds calls s/call s/call name | |
25.57 1.45 1.45 318 0.00 0.00 rtengine::RawImageSource::amaze_demosaic_RT(int, int, int, int, array2D<float>&, array2D<float>&, array2D<float>&, array2D<float>&) | |
22.58 2.73 1.28 1 1.28 1.28 rtengine::ImProcFunctions::rgbProc(rtengine::Imagefloat*, rtengine::LabImage*, rtengine::PipetteBuffer*, LUT<float>&, LUT<float>&, LUT<float>&, rtengine::SHMap*, int, LUT<float>&, LUT<float>&, LUT<float>&, float, float, rtengine::ColorGradientCurve const&, rtengine::OpacityCurve const&, bool, LUT<float>&, LUT<float>&, rtengine::ToneCurve const&, rtengine::ToneCurve const&, rtengine::ToneCurve const&, rtengine::ToneCurve const&, double&, double&, doubl |
# -*- coding: utf-8 -*- | |
""" | |
Testing tiff processing on the gpu | |
""" | |
from __future__ import absolute_import | |
from __future__ import print_function | |
import math | |