Program Listing for File BenchmarkOutProperties.hpp

Return to documentation for file (include/depthai/properties/BenchmarkOutProperties.hpp)

#pragma once

#include "depthai/common/ProcessorType.hpp"
#include "depthai/common/optional.hpp"
#include "depthai/pipeline/datatype/DatatypeEnum.hpp"
#include "depthai/properties/Properties.hpp"

namespace dai {

struct BenchmarkOutProperties : PropertiesSerializable<Properties, BenchmarkOutProperties> {
    int numMessages = -1;

    float fps = 0;

    ~BenchmarkOutProperties() override;
};

DEPTHAI_SERIALIZE_EXT(BenchmarkOutProperties, numMessages, fps);

}  // namespace dai