aboutsummaryrefslogtreecommitdiffstats
path: root/vbench/src/vbench/vbench/request_dumper.h
blob: 82dda519a2d8ce579ff95518ed09fe2c5810eeb6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include "analyzer.h"

namespace vbench {

/**
 * Dumps the textual representation of a request to standard
 * output. Intended for debugging purposes.
 **/
class RequestDumper : public Analyzer
{
public:
    RequestDumper();
    void handle(Request::UP request) override;
    void report() override;
};

} // namespace vbench