Coverage Report

Created: 2026-05-31 06:50

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/openexr/src/lib/OpenEXR/ImfThreading.cpp
Line
Count
Source
1
//
2
// SPDX-License-Identifier: BSD-3-Clause
3
// Copyright (c) Contributors to the OpenEXR Project.
4
//
5
6
//-----------------------------------------------------------------------------
7
//
8
//  Threading support for the OpenEXR library
9
//
10
//-----------------------------------------------------------------------------
11
12
#include "ImfThreading.h"
13
#include "IlmThreadPool.h"
14
#include "ImfNamespace.h"
15
16
OPENEXR_IMF_INTERNAL_NAMESPACE_SOURCE_ENTER
17
18
int
19
globalThreadCount ()
20
20.6k
{
21
20.6k
    return ILMTHREAD_NAMESPACE::ThreadPool::globalThreadPool ().numThreads ();
22
20.6k
}
23
24
void
25
setGlobalThreadCount (int count)
26
0
{
27
0
    ILMTHREAD_NAMESPACE::ThreadPool::globalThreadPool ().setNumThreads (count);
28
0
}
29
30
OPENEXR_IMF_INTERNAL_NAMESPACE_SOURCE_EXIT