BigFile/Sasquatch #1
@@ -11,10 +11,10 @@
|
||||
|
||||
#include <System/File/File.hpp>
|
||||
|
||||
#include <SasquatchBakerBenchmarks/BigFileInfo_generated.hpp>
|
||||
|
||||
#include <AssetsForBenchmarking/Asset/BenchmarkAsset.hpp>
|
||||
|
||||
#include <SasquatchBakerBenchmarks/BigFileInfo_generated.hpp>
|
||||
|
||||
#include <EASTL/vector.h>
|
||||
#include <benchmark/benchmark.h>
|
||||
|
||||
@@ -64,7 +64,7 @@ class SasquatchBakerFixture: public benchmark::Fixture
|
||||
m_outputFile.Delete();
|
||||
}
|
||||
|
||||
static constexpr eastl::string_view SASQUATCH_SASQUATCHBAKERBENCHMARKS_LOCATION {
|
||||
static constexpr eastl::string_view SASQUATCH_SASQUATCHBAKERBENCHMARKS_LOCATION {
|
||||
"./SasquatchBakerBenchmarks.sasquatch"};
|
||||
BigFile m_bigFile {File {BIGFILE_SASQUATCHBAKERBENCHMARKS_LOCATION}};
|
||||
File m_outputFile {SASQUATCH_SASQUATCHBAKERBENCHMARKS_LOCATION};
|
||||
|
||||
@@ -136,10 +136,10 @@ class Sasquatch: public DataAccessor
|
||||
~Sasquatch() override = default;
|
||||
|
||||
/**
|
||||
* Get the header
|
||||
*
|
||||
* \return The header
|
||||
*/
|
||||
* Get the header
|
||||
*
|
||||
* \return The header
|
||||
*/
|
||||
const SasquatchHeader& GetHeader() const;
|
||||
|
||||
/**
|
||||
@@ -236,8 +236,8 @@ class Sasquatch: public DataAccessor
|
||||
MemoryMappedFile m_file;
|
||||
|
||||
/**
|
||||
* The sasquatch header
|
||||
*/
|
||||
* The sasquatch header
|
||||
*/
|
||||
SasquatchHeader m_header;
|
||||
|
||||
/**
|
||||
|
||||
@@ -30,8 +30,7 @@ class SasquatchBakerFixture: public ::testing::Test
|
||||
m_outputFile.Delete();
|
||||
}
|
||||
|
||||
static constexpr eastl::string_view SASQUATCH_SASQUATCHBAKERTESTS_LOCATION {
|
||||
"./SasquatchBakerTests.sasquatch"};
|
||||
static constexpr eastl::string_view SASQUATCH_SASQUATCHBAKERTESTS_LOCATION {"./SasquatchBakerTests.sasquatch"};
|
||||
BigFile m_bigFile {File {BIGFILE_SASQUATCHBAKERTESTS_LOCATION}};
|
||||
File m_outputFile {SASQUATCH_SASQUATCHBAKERTESTS_LOCATION};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user