Všechno Nové

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Registrovat

Přihlásit se

Všechno Nové Registrovat Přihlásit se

nichijou

Připojeno 3 hours ago

Nedávno Vytvořeno
Nejméně nedávno Vytvořeno
Nedávno Aktualizováno
Nejméně nedávno Aktualizováno
Všechny gisty 1 Líbí se 1

nichijou / 计算任务耗时

1 Lajky
0 Forky
1 Soubory
Naposledy aktivní 3 hours ago
计算任务耗时, 单例类实现
1
2 #ifndef QTCONTROL_SRC_UTILS_STOPWATCH_H_
3 #define QTCONTROL_SRC_UTILS_STOPWATCH_H_
4 #include "chrono"
5
6 class StopWatch {
7 public:
8 static StopWatch& GetInstance() {
9 static StopWatch instance;
10 return instance;
Novější Starší

Vytvořeno pomocí Opengist ⋅ Load: 25ms⋅

Čeština
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文