X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Ftrace-handle-internal.h;h=5e9c1c6a943865ed3d45121ab73c56983cfefa66;hb=b7b61ced2a4d4e3222640ad20e6655cb4379c012;hp=4a56e2802b3ae280f99bf9820b48dbc5358a0456;hpb=6cba487f031260536d6a77acde888c8b1a876fcf;p=babeltrace.git diff --git a/include/babeltrace/trace-handle-internal.h b/include/babeltrace/trace-handle-internal.h index 4a56e280..5e9c1c6a 100644 --- a/include/babeltrace/trace-handle-internal.h +++ b/include/babeltrace/trace-handle-internal.h @@ -20,6 +20,14 @@ * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. */ #include @@ -35,11 +43,13 @@ */ struct bt_trace_handle { int id; - struct trace_descriptor *td; - struct format *format; + struct bt_trace_descriptor *td; + struct bt_format *format; char path[PATH_MAX]; - uint64_t timestamp_begin; - uint64_t timestamp_end; + uint64_t real_timestamp_begin; + uint64_t real_timestamp_end; + uint64_t cycles_timestamp_begin; + uint64_t cycles_timestamp_end; }; /*