Scroom  0.14
measure-load-performance-tests.hh
Go to the documentation of this file.
1 /*
2  * Scroom - Generic viewer for 2D data
3  * Copyright (C) 2009-2022 Kees-Jan Dijkzeul
4  *
5  * SPDX-License-Identifier: LGPL-2.1
6  */
7 
8 #pragma once
9 
10 #include <scroom/semaphore.hh>
11 
12 void init_tests();
setupTest8bpp
bool setupTest8bpp(int zoom, int width, int height)
Definition: test-helpers.cc:200
UNUSED
#define UNUSED(x)
Definition: unused.hh:10
init_tests
void init_tests()
Definition: measure-load-performance-tests.cc:91
setupTest4bpp
bool setupTest4bpp(int zoom, int width, int height)
Definition: test-helpers.cc:182
threadpool.hh
measure-load-performance-tests.hh
WaitForAsyncOp::started
bool started
Definition: measure-load-performance-tests.cc:33
WaitForAsyncOp::operator=
WaitForAsyncOp operator=(const WaitForAsyncOp &)=delete
Sleeper
Definition: test-helpers.hh:85
functions
std::vector< boost::function< bool()> > functions
Definition: measure-framerate-callbacks.cc:16
WaitForAsyncOp::name
std::string name
Definition: measure-load-performance-tests.cc:31
create_window
GtkWidget * create_window()
Definition: measure-framerate-callbacks.cc:79
WaitForAsyncOp::~WaitForAsyncOp
~WaitForAsyncOp()=default
Sequentially
ThreadPool::Ptr Sequentially()
Definition: threadpoolimpl.cc:459
Scroom::Semaphore::P
void P()
Definition: semaphore.hh:38
measure-framerate-tests.hh
init_tests
void init_tests()
Definition: measure-framerate-tests.cc:152
measure-framerate-callbacks.hh
Scroom::Semaphore
Definition: semaphore.hh:15
init_tests
void init_tests()
Definition: measure-framerate-tests.cc:152
reset
bool reset()
Definition: test-helpers.cc:127
usage
void usage(const std::string &me, const std::string &message=std::string())
Definition: measure-framerate.cc:22
main
int main(int argc, char *argv[])
Definition: measure-framerate.cc:35
clear
static void clear(Scroom::Semaphore &s)
Definition: measure-load-performance-tests.cc:26
WaitForAsyncOp::s
Scroom::Semaphore s
Definition: measure-load-performance-tests.cc:32
quit
bool quit()
Definition: test-helpers.cc:120
WaitForAsyncOp::operator()
bool operator()()
Definition: measure-load-performance-tests.cc:66
measure-framerate-stubs.hh
init
void init()
Definition: measure-framerate-callbacks.cc:98
WaitForAsyncOp
Definition: measure-load-performance-tests.cc:28
setupTest2bpp
bool setupTest2bpp(int zoom, int width, int height)
Definition: test-helpers.cc:164
test-helpers.hh
setupTest1bpp
bool setupTest1bpp(int zoom, int width, int height)
Definition: test-helpers.cc:146
Scroom::Semaphore::V
void V()
Definition: semaphore.hh:77
WaitForAsyncOp::WaitForAsyncOp
WaitForAsyncOp(std::string name)
Definition: measure-load-performance-tests.cc:47
unused.hh
semaphore.hh
WaitForAsyncOp::t
struct timespec t
Definition: measure-load-performance-tests.cc:34
setupTest8bppColormapped
bool setupTest8bppColormapped(int zoom, int width, int height)
Definition: test-helpers.cc:217