diff --git a/README.md b/README.md index 19ea7f3..a13aa79 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,13 @@ Add a paragraph about the application here... ## Getting Started -### Installing the xApp +## Using Docker image + +```shell +docker container run -itd --name iqos-xapp -e NEAR_RIC_IP="" muriloavlis/iqos-xapp:latest +``` + +### Building the xApp Clone the xApp repository with the following command. diff --git a/src/kpmManager.cpp b/src/kpmManager.cpp index 9c5f80f..d967777 100644 --- a/src/kpmManager.cpp +++ b/src/kpmManager.cpp @@ -320,8 +320,7 @@ namespace KpmManager kpm_ind_msg_format_3_t const* msg_frm_3{&ind->msg.frm_3}; // ind message static int counter = 1; - u_int64_t now{get_time_now_us()}; - u_int64_t latency{now - hdr_frm_1->collectStartTime}; + u_int64_t latency{get_time_now_us() - hdr_frm_1->collectStartTime}; // create a new scope {