mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-05 08:52:36 +00:00
thread: Reduce spammy log
This commit is contained in:
parent
3e8455f359
commit
a89c79d3cf
@ -654,7 +654,7 @@ int PS4_SYSV_ABI scePthreadCondInit(ScePthreadCond* cond, const ScePthreadCondat
|
|||||||
int result = pthread_cond_init(&(*cond)->cond, &(*attr)->cond_attr);
|
int result = pthread_cond_init(&(*cond)->cond, &(*attr)->cond_attr);
|
||||||
|
|
||||||
if (name != nullptr) {
|
if (name != nullptr) {
|
||||||
LOG_INFO(Kernel_Pthread, "name={}, result={}", (*cond)->name, result);
|
LOG_TRACE(Kernel_Pthread, "name={}, result={}", (*cond)->name, result);
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (result) {
|
switch (result) {
|
||||||
@ -1069,16 +1069,7 @@ ScePthread PThreadPool::Create(const char* name) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _WIN64
|
|
||||||
auto* ret = new PthreadInternal{};
|
auto* ret = new PthreadInternal{};
|
||||||
#else
|
|
||||||
// TODO: Linux specific hack
|
|
||||||
static u8* hint_address = reinterpret_cast<u8*>(0x7FFFFC000ULL);
|
|
||||||
auto* ret = reinterpret_cast<PthreadInternal*>(
|
|
||||||
mmap(hint_address, sizeof(PthreadInternal), PROT_READ | PROT_WRITE,
|
|
||||||
MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, -1, 0));
|
|
||||||
hint_address += Common::AlignUp(sizeof(PthreadInternal), 4_KB);
|
|
||||||
#endif
|
|
||||||
ret->is_free = false;
|
ret->is_free = false;
|
||||||
ret->is_detached = false;
|
ret->is_detached = false;
|
||||||
ret->is_almost_done = false;
|
ret->is_almost_done = false;
|
||||||
|
@ -167,6 +167,7 @@ const GraphicsPipeline* PipelineCache::GetGraphicsPipeline() {
|
|||||||
}
|
}
|
||||||
const auto [it, is_new] = graphics_pipelines.try_emplace(graphics_key);
|
const auto [it, is_new] = graphics_pipelines.try_emplace(graphics_key);
|
||||||
if (is_new) {
|
if (is_new) {
|
||||||
|
LOG_INFO(Render_Vulkan, "New pipeline");
|
||||||
it.value() = std::make_unique<GraphicsPipeline>(
|
it.value() = std::make_unique<GraphicsPipeline>(
|
||||||
instance, scheduler, desc_heap, graphics_key, *pipeline_cache, infos, modules);
|
instance, scheduler, desc_heap, graphics_key, *pipeline_cache, infos, modules);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user