vfs: check userland buffers before reading them.
[haiku.git] / src / tests / servers / app / benchmark / VerticalLineTest.h
blobef84746011c3f5845fc008054c7486de906a9c3b
1 /*
2 * Copyright (C) 2008-2009 Stephan Aßmus <superstippi@gmx.de>
3 * All rights reserved. Distributed under the terms of the MIT license.
4 */
5 #ifndef VERTICAL_LINE_TEST_H
6 #define VERTICAL_LINE_TEST_H
8 #include <Rect.h>
10 #include "Test.h"
12 class VerticalLineTest : public Test {
13 public:
14 VerticalLineTest();
15 virtual ~VerticalLineTest();
17 virtual void Prepare(BView* view);
18 virtual bool RunIteration(BView* view);
19 virtual void PrintResults(BView* view);
21 static Test* CreateTest();
23 private:
24 bigtime_t fTestDuration;
25 bigtime_t fTestStart;
26 uint64 fLinesRendered;
28 uint32 fIterations;
29 uint32 fMaxIterations;
31 BRect fViewBounds;
34 #endif // VERTICAL_LINE_TEST_H