Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2015-09-23 15:46:51 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8b1198562a9e54d54b5b21309db3e7fe16d1ba60
8b119856
1 parent
cfe20823
show cpu info.
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
15 行增加
和
0 行删除
trunk/src/main/srs_main_server.cpp
trunk/src/main/srs_main_server.cpp
查看文件 @
8b11985
...
...
@@ -225,6 +225,21 @@ void check_macro_features()
#if defined(SRS_PERF_SO_SNDBUF_SIZE) && !defined(SRS_PERF_MW_SO_SNDBUF)
#error "SRS_PERF_SO_SNDBUF_SIZE depends on SRS_PERF_MW_SO_SNDBUF"
#endif
#ifndef SRS_OSX
#if defined(__amd64__)
srs_trace
(
"cpu is amd64, glibc %d.%d"
,
(
int
)
__GLIBC__
,
(
int
)
__GLIBC_MINOR__
);
#endif
#if defined(__x86_64__)
srs_trace
(
"cpu is x86_64, glibc %d.%d"
,
(
int
)
__GLIBC__
,
(
int
)
__GLIBC_MINOR__
);
#endif
#if defined(__i386__)
srs_trace
(
"cpu is i386, glibc %d.%d"
,
(
int
)
__GLIBC__
,
(
int
)
__GLIBC_MINOR__
);
#endif
#if defined(__arm__)
srs_trace
(
"cpu is arm, glibc %d.%d"
,
(
int
)
__GLIBC__
,
(
int
)
__GLIBC_MINOR__
);
#endif
#endif
}
/**
...
...
请
注册
或
登录
后发表评论