增加和tfe通信接口, 添加负载均衡功能等

This commit is contained in:
崔一鸣
2019-06-03 20:19:04 +08:00
parent 85aee8ba55
commit 1fa7a0673f
20 changed files with 1607 additions and 341 deletions

12
common/test/test_uuid.cpp Normal file
View File

@@ -0,0 +1,12 @@
#include <stdio.h>
#include "uuid/uuid.h"
int main(){
for(int i = 0; i < 10; i++){
uuid_t uu;
char buf[37];
uuid_generate_random(uu);
uuid_unparse(uu, buf);
printf("uuid is: %s\n", buf);
}
}