2021-07-09 01:19:43 +08:00
|
|
|
/*
|
2023-04-25 04:45:11 +08:00
|
|
|
* Copyright (C) 2018-2023 Intel Corporation
|
2021-07-09 01:19:43 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2023-04-27 16:42:36 +08:00
|
|
|
#include <string>
|
|
|
|
|
2021-07-09 01:19:43 +08:00
|
|
|
namespace NEO {
|
|
|
|
|
|
|
|
namespace SysCalls {
|
|
|
|
|
|
|
|
unsigned int getProcessId();
|
|
|
|
|
2022-10-06 20:21:52 +08:00
|
|
|
unsigned long getNumThreads();
|
|
|
|
|
2023-04-25 04:45:11 +08:00
|
|
|
void exit(int code);
|
|
|
|
|
2023-04-27 16:42:36 +08:00
|
|
|
bool pathExists(const std::string &path);
|
|
|
|
|
2021-07-09 01:19:43 +08:00
|
|
|
} // namespace SysCalls
|
|
|
|
|
|
|
|
} // namespace NEO
|