mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-06-26 06:53:14 +00:00
21 lines
531 B
C++
21 lines
531 B
C++
// SPDX-FileCopyrightText: 2017 Google LLC
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
#ifndef CPU_FEATURES_TEST_HWCAPS_FOR_TESTING_H_
|
|
#define CPU_FEATURES_TEST_HWCAPS_FOR_TESTING_H_
|
|
|
|
#include "internal/hwcaps.h"
|
|
|
|
namespace cpu_features
|
|
{
|
|
void SetHardwareCapabilities(uint32_t hwcaps, uint32_t hwcaps2);
|
|
void SetPlatformPointer(const char* string);
|
|
void SetBasePlatformPointer(const char* string);
|
|
|
|
// To be called before each test.
|
|
void ResetHwcaps();
|
|
|
|
} // namespace cpu_features
|
|
|
|
#endif // CPU_FEATURES_TEST_HWCAPS_FOR_TESTING_H_
|