Skip to content

Instantly share code, notes, and snippets.

@stillPhys
stillPhys / mymodule.cpp
Created December 20, 2021 18:26 — forked from caiorss/mymodule.cpp
Sample C++ Python native module
// Author: Caio Rodrigues
// Descr: Sample Native Python 3 module (library) DLL
//
// Compile with:
// $ clang++ mymodule.cpp -o mymodule.so -g -std=c++1z -fPIC -shared -I/usr/include/python3.6m
//-------------------------------------------------------
#include <iostream>
#include <string>
#include <functional>
23:25:46 - timestamp: 3-9-23-25
23:25:46 - starttime: 3/9/2020 23:25
23:25:46 - Media Path: /D/PugetBench%20for%20Premiere%20Pro%200.88/
23:25:46 - Media Copy Path: D:\PugetBench for Premiere Pro 0.88\
23:25:46 - Which tests should we run?
23:25:46 - Enabling runtest for 4K Heavy CPU Effects (59.94FPS)
23:25:46 - Premiere Pro Version: 14.0.2x104
23:25:46 - Premiere Pro Benchmark: V0.88 BETA
23:25:46 - Benchmark Name PugetBench for Premiere Pro V0.88 BETA (Pr 14.0.2x104)
23:25:46 - Running from Benchmark_Project.prproj