LCOV - code coverage report
Current view: top level - gfx/skia/skia/src/core - SkThreadID.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 1 1 100.0 %
Date: 2017-07-14 16:53:18 Functions: 1 1 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * Copyright 2015 Google Inc.
       3             :  *
       4             :  * Use of this source code is governed by a BSD-style license that can be
       5             :  * found in the LICENSE file.
       6             :  */
       7             : 
       8             : #include "SkLeanWindows.h"
       9             : #include "SkThreadID.h"
      10             : 
      11             : #ifdef SK_BUILD_FOR_WIN
      12             :     SkThreadID SkGetThreadID() { return GetCurrentThreadId(); }
      13             : #else
      14             :     #include <pthread.h>
      15          66 :     SkThreadID SkGetThreadID() { return (int64_t)pthread_self(); }
      16             : #endif

Generated by: LCOV version 1.13