• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //
2 // Copyright 2019 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5 //
6 // test_utils_uwp.cpp: Implementation of test utility functions for WinUWP.
7 
8 #include "util/test_utils.h"
9 
10 namespace angle
11 {
PrintStackBacktrace()12 void PrintStackBacktrace()
13 {
14     // Not available on UWP
15 }
16 
InitCrashHandler(CrashCallback * callback)17 void InitCrashHandler(CrashCallback *callback)
18 {
19     // Not available on UWP
20 }
21 
TerminateCrashHandler()22 void TerminateCrashHandler()
23 {
24     // Not available on UWP
25 }
26 
NumberOfProcessors()27 int NumberOfProcessors()
28 {
29     // A portable implementation could probably use GetLogicalProcessorInformation
30     return 1;
31 }
32 }  // namespace angle
33