Apollo  6.0
Open source self driving car software
Namespaces | Functions
pin_thread.h File Reference
#include <string>
#include <thread>
#include <vector>
#include "cyber/common/log.h"
Include dependency graph for pin_thread.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 apollo
 PlanningContext is the runtime context in planning. It is persistent across multiple frames.
 
 apollo::cyber
 
 apollo::cyber::scheduler
 

Functions

void apollo::cyber::scheduler::ParseCpuset (const std::string &str, std::vector< int > *cpuset)
 
void apollo::cyber::scheduler::SetSchedAffinity (std::thread *thread, const std::vector< int > &cpus, const std::string &affinity, int cpu_id=-1)
 
void apollo::cyber::scheduler::SetSchedPolicy (std::thread *thread, std::string spolicy, int sched_priority, pid_t tid=-1)