Program Listing for File BenchmarkInProperties.hpp

Return to documentation for file (include/depthai/properties/BenchmarkInProperties.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 BenchmarkInProperties : PropertiesSerializable<Properties, BenchmarkInProperties> {
    uint32_t reportEveryNMessages = 50;

    bool attachLatencies = false;

    bool logReportsAsWarnings = true;

    ~BenchmarkInProperties() override;
};

DEPTHAI_SERIALIZE_EXT(BenchmarkInProperties, reportEveryNMessages, attachLatencies, logReportsAsWarnings);

}  // namespace dai