Scroom  0.14
measure-framerate-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 void init_tests();
BaseCounter::BaseCounter
BaseCounter(const std::string &name, unsigned int secs)
Definition: measure-framerate-tests.cc:103
setupTest8bpp
bool setupTest8bpp(int zoom, int width, int height)
Definition: test-helpers.cc:200
InvalidatingCounter::InvalidatingCounter
InvalidatingCounter(const std::string &name, unsigned int secs)
Definition: measure-framerate-tests.cc:139
setupTest4bpp
bool setupTest4bpp(int zoom, int width, int height)
Definition: test-helpers.cc:182
Invalidator::Invalidator
Invalidator(unsigned int secs)
Definition: measure-framerate-tests.cc:72
InvalidatingCounter
Definition: measure-framerate-tests.cc:55
Invalidator
Definition: measure-framerate-tests.cc:25
Sleeper
Definition: test-helpers.hh:85
functions
std::vector< boost::function< bool()> > functions
Definition: measure-framerate-callbacks.cc:16
BaseCounter::operator()
bool operator()()
Definition: measure-framerate-tests.cc:110
init_tests
void init_tests()
Definition: measure-framerate-tests.cc:152
drawingAreaHeight
int drawingAreaHeight
Definition: test-helpers.cc:23
BaseCounter::columnWidth
static unsigned int columnWidth
Definition: measure-framerate-tests.cc:47
measure-framerate-tests.hh
init_tests
void init_tests()
Definition: measure-framerate-tests.cc:152
Invalidator::secs
unsigned int secs
Definition: measure-framerate-tests.cc:28
measure-framerate-callbacks.hh
wait
bool wait()
Definition: test-helpers.cc:134
invalidate
void invalidate()
Definition: measure-framerate-callbacks.cc:100
Invalidator::t
struct timespec t
Definition: measure-framerate-tests.cc:30
reset
bool reset()
Definition: test-helpers.cc:127
Invalidator::operator()
bool operator()()
Definition: measure-framerate-tests.cc:77
BaseCounter::started
bool started
Definition: measure-framerate-tests.cc:43
Invalidator::started
bool started
Definition: measure-framerate-tests.cc:29
quit
bool quit()
Definition: test-helpers.cc:120
drawingAreaWidth
int drawingAreaWidth
Definition: test-helpers.cc:22
InvalidatingCounter::operator()
bool operator()()
Definition: measure-framerate-tests.cc:144
measure-framerate-stubs.hh
test-helpers.hh
BaseCounter
Definition: measure-framerate-tests.cc:38
setupTest1bpp
bool setupTest1bpp(int zoom, int width, int height)
Definition: test-helpers.cc:146
BaseCounter::count
unsigned int count
Definition: measure-framerate-tests.cc:44
logSizes
static bool logSizes()
Definition: measure-framerate-tests.cc:64
BaseCounter::t
struct timespec t
Definition: measure-framerate-tests.cc:45
unused.hh
BaseCounter::name
std::string name
Definition: measure-framerate-tests.cc:41
BaseCounter::secs
unsigned int secs
Definition: measure-framerate-tests.cc:42
setupTest8bppColormapped
bool setupTest8bppColormapped(int zoom, int width, int height)
Definition: test-helpers.cc:217