• R/O
  • SSH

提交

标签

Frequently used words (click to add to your profile)

javaandroidc++linuxc#windowsobjective-ccocoaqtpython誰得phprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Comparing performance of a task queued to an existing thread vs. new thread for each task.


Commit MetaInfo

修订版4c2376781ab248f5d09a833d980897271e92f81c (tree)
时间2017-04-04 08:45:36
作者Eric Hopper <hopper@omni...>
CommiterEric Hopper

Log Message

Added a Makefile so people could just run make to get results.

更改概述

差异

diff -r 38cf800ec1a9 -r 4c2376781ab2 Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile Mon Apr 03 16:45:36 2017 -0700
@@ -0,0 +1,10 @@
1+CXX=g++ -std=c++1z -march=native -mtune=native
2+CXXFLAGS=-Wall -pedantic -Ofast
3+
4+.PHONY: speedcheck
5+
6+speedcheck: tcps
7+ ./tcps
8+
9+tcps: test_thread.cpp do_something.cpp
10+ $(CXX) $(CXXFLAGS) -pthread -o "$@" $^